From 36fbd1e5a40e319e6ac5f43d11c99ba4b66e93a3 Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期三, 29 十一月 2023 16:50:16 +0800 Subject: [PATCH] 坡度分析下载修改 --- src/store/index.ts | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/src/store/index.ts b/src/store/index.ts index a362c16..30d874e 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -30,8 +30,33 @@ restLayer: false, isShowMap: true, spatialTitle: null, + setExportList: false, + setLayerManager: false, + olLon: "0.00", + olLat: "0.00", + olZoom: 0, + plottingInquireData: { + isshow: false, + entitiesData: {}, + getData: {}, + }, + loading: false, + temporaryLayer: null, + editTemporaryId: null, + setEditTemporaryShow: false, + editTemporarName: null, + editTemporaryback: null, + layerGroups:null, + slopeQueyFlag:false, + slopeQueyValue:null, + showSlopeQuey:false, + showlegendLayer:false, }, mutations: { + // SET_plotting(state, obj) { + // console.log(obj); + // state.plottingInquireData = obj; + // }, //鑾峰彇鐧诲綍Code setLoginCode(state, num) { state.loginCode = num; @@ -44,7 +69,11 @@ }, SET_TOKEN(state, token) { state.token = token; - setToken(token); + const obj = { + token: token, + uname: state.uname, + }; + setToken(JSON.stringify(obj)); }, SET_CHECKLAYER(state, layers) { state.chekNowLayers = layers; -- Gitblit v1.9.3