From 25493993d9fc1beee000febabb14fe3f1aef524e Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Fri, 16 Aug 2019 16:33:59 +0800 Subject: [PATCH] =?UTF-8?q?desc:=20=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E7=9B=91=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/zh/map.js | 3 +++ src/views/map/mapdraft/mapedit/dataRelation/index.vue | 4 ++-- src/views/map/mapdraft/mapedit/index.vue | 3 +++ src/views/map/mapdraft/mapedit/mapoperate/index.vue | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/i18n/langs/zh/map.js b/src/i18n/langs/zh/map.js index 4f02ce4a6..ca8bcd87d 100644 --- a/src/i18n/langs/zh/map.js +++ b/src/i18n/langs/zh/map.js @@ -17,6 +17,9 @@ export default { add: '添加', are: '是', deny: '否', + drawMap: '绘图', + advanced: '高级', + viewLayer: '视图图层', save: '保存', updata: '更新', diff --git a/src/views/map/mapdraft/mapedit/dataRelation/index.vue b/src/views/map/mapdraft/mapedit/dataRelation/index.vue index cd99d3e55..8e79be55d 100644 --- a/src/views/map/mapdraft/mapedit/dataRelation/index.vue +++ b/src/views/map/mapdraft/mapedit/dataRelation/index.vue @@ -21,12 +21,12 @@ type="text" style="float: right; padding: 3px 0; margin-right: 5px;" @click="drawMap" - >绘图 + >{{ $t('map.drawMap') }} 视图图层 + >{{ $t('map.viewLayer') }} diff --git a/src/views/map/mapdraft/mapedit/index.vue b/src/views/map/mapdraft/mapedit/index.vue index 1ea637bb6..0a2b9e1bd 100644 --- a/src/views/map/mapdraft/mapedit/index.vue +++ b/src/views/map/mapdraft/mapedit/index.vue @@ -87,6 +87,9 @@ export default { watch: { '$store.state.map.mapDataLoadedCount': function (val) { this.initAutoSaveTask(); + }, + $route() { + this.loadInitPage(); } }, mounted() { diff --git a/src/views/map/mapdraft/mapedit/mapoperate/index.vue b/src/views/map/mapdraft/mapedit/mapoperate/index.vue index e02dd169d..9ac86107f 100644 --- a/src/views/map/mapdraft/mapedit/mapoperate/index.vue +++ b/src/views/map/mapdraft/mapedit/mapoperate/index.vue @@ -25,12 +25,12 @@ type="text" style="float: right; padding: 3px 0; margin-right: 5px;" @click="dataRelation" - >高级 + >{{ $t('map.advanced') }} 视图图层 + >{{ $t('map.viewLayer') }}