src/store/modules/control.js
@@ -44,7 +44,9 @@ searchIndex: 6, //收缩展示数量 searchIcon: true, //搜索是否收缩 height: window.screen.height //初始高度 } }, //面的集和点 polygons: [], }, actions: { WHchangeHight({ @@ -246,6 +248,9 @@ } }, mutations: { setpolygon: (state, data) => { state.polygons = data; }, setWindowSize: (state, data) => { state.windowWidth = data.innerWidth; state.windowHeight = data.innerHeight;