From 295ddee73831e091a4d8fe58a9238ba340150e80 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 20 Jan 2021 16:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4showMode=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/jlmapNew/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/newMap/jlmapNew/index.vue b/src/views/newMap/jlmapNew/index.vue index f5a013f65..a85a8ea22 100644 --- a/src/views/newMap/jlmapNew/index.vue +++ b/src/views/newMap/jlmapNew/index.vue @@ -240,6 +240,10 @@ export default { this.previewOrMapDraw = true; } const prdType = this.$store.state.training.prdType; + let showMode = ''; + if (prdType === '01') { + showMode = '03'; + } else if (prdType === '02') { showMode = '02'; } Vue.prototype.$theme = new Theme(); Vue.prototype.$jlmap = new Jlmap({ dom: document.getElementById(this.canvasId), @@ -257,7 +261,7 @@ export default { showConfig: { prdType: prdType, previewOrMapDraw: this.previewOrMapDraw, - showMode: '02' + showMode: showMode }, methods: { dataLoaded: this.handleDataLoaded,