Administrator
2021-12-21 db0e6fcd3c2765e5d928ff0f0cc48f2da9261fa6
src/store/modules/control.js
@@ -10,13 +10,21 @@
      searchShowBtn: false,
      filterBtn: false,
    },
    changePageSize: {
      pageSize: 15,
      currentPage: 1,
      total: 0,
      pageSizes: [15, 30, 50, 100],
    },
    windowWidth: 1025,
    windowHeight: '',
  },
  actions: {
  },
  mutations: {
    setWindowSize: (state, data) => {
      state.windowWidth = data.innerWidth;
      state.windowHeight = data.innerHeight;
      // console.log(data)
    },
  }