desc: 修改路由监听
This commit is contained in:
parent
e6f83a7998
commit
25493993d9
@ -17,6 +17,9 @@ export default {
|
||||
add: '添加',
|
||||
are: '是',
|
||||
deny: '否',
|
||||
drawMap: '绘图',
|
||||
advanced: '高级',
|
||||
viewLayer: '视图图层',
|
||||
|
||||
save: '保存',
|
||||
updata: '更新',
|
||||
|
@ -21,12 +21,12 @@
|
||||
type="text"
|
||||
style="float: right; padding: 3px 0; margin-right: 5px;"
|
||||
@click="drawMap"
|
||||
>绘图</el-button>
|
||||
>{{ $t('map.drawMap') }}</el-button>
|
||||
<el-button
|
||||
type="text"
|
||||
style="float: right; padding: 3px 0; margin-right: 5px;"
|
||||
@click="showMap"
|
||||
>视图图层</el-button>
|
||||
>{{ $t('map.viewLayer') }}</el-button>
|
||||
</div>
|
||||
<el-tabs v-model="enabledTab" type="card" @tab-click="changePane">
|
||||
<el-tab-pane label="进路" name="route">
|
||||
|
@ -87,6 +87,9 @@ export default {
|
||||
watch: {
|
||||
'$store.state.map.mapDataLoadedCount': function (val) {
|
||||
this.initAutoSaveTask();
|
||||
},
|
||||
$route() {
|
||||
this.loadInitPage();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -25,12 +25,12 @@
|
||||
type="text"
|
||||
style="float: right; padding: 3px 0; margin-right: 5px;"
|
||||
@click="dataRelation"
|
||||
>高级</el-button>
|
||||
>{{ $t('map.advanced') }}</el-button>
|
||||
<el-button
|
||||
type="text"
|
||||
style="float: right; padding: 3px 0; margin-right: 5px;"
|
||||
@click="showMap"
|
||||
>视图图层</el-button>
|
||||
>{{ $t('map.viewLayer') }}</el-button>
|
||||
</div>
|
||||
<el-tabs v-model="enabledTab" type="card">
|
||||
<el-tab-pane :label="$t('map.link')" name="Link">
|
||||
|
Loading…
Reference in New Issue
Block a user