调整showMode初始值
This commit is contained in:
parent
287e6251b7
commit
295ddee738
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user