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) }, }