修改 技术领域

This commit is contained in:
qq787203167
2022-03-04 17:21:22 +08:00
parent 69ee107368
commit d411e1a5f5
2 changed files with 22 additions and 0 deletions
+13
View File
@@ -3,6 +3,19 @@
<a-row :gutter="24">
<a-col :md="6" :sm="8" v-for="(item,index) in searchList" :key="index" style="line-height: 48px">
<template>
<div class="box-title-text" v-if="item.field_show_type == '0'">
<div class="title-text" :title="item.db_field_txt">
<span>{{item.db_field_txt}}</span>
</div>
<a-tree-select
class="box-input"
v-model="queryParam[item.db_field_name]"
:maxTagCount="1"
:tree-data="item.tree"
tree-checkable
:placeholder="$t('PleaseSelect')+item.db_field_txt"
/>
</div>
<div class="box-title-text" v-if="item.field_show_type == '1'">
<div class="title-text" :title="item.db_field_txt">
<span>{{item.db_field_txt}}</span>
@@ -301,6 +301,15 @@
localStorage.setItem('language', 'en-us')
break
}
router.beforeEach((to,from,next)=>{
console.log(to)
console.log(from)
return
if(to.meta.title){
document.title=to.meta.title
}
next()
})
store.dispatch('GetPermissionList').then(res => {
this.$root.Bus.$emit('switchLanguage', localeval)
this.isLoading = false