liuyg
2021-12-10 56a2e064f54346cf312736d8652863c0e5d197b7
src/store/modules/control.js
@@ -17,12 +17,14 @@
      pageSizes: [15, 30, 50, 100],
    },
    windowWidth: 1025,
    windowHeight: '',
  },
  actions: {
  },
  mutations: {
    setWindowSize: (state, data) => {
      state.windowWidth = data.innerWidth;
      state.windowHeight = data.innerHeight;
      // console.log(data)
    },
  }