修改海南测试问题
This commit is contained in:
@@ -27,13 +27,14 @@ defineOptions({
|
||||
name: 'supervision/supervision/manage'
|
||||
})
|
||||
|
||||
const activeName: any = ref(null)
|
||||
const activeName: any = ref('3')
|
||||
|
||||
|
||||
watch(() => route.query.t, async (newValue, oldValue) => {
|
||||
if (route.fullPath.includes('supervision/supervision/manage')) {
|
||||
let type = (route.query.type as string) || 'null'
|
||||
if (type == 'null' || type == '0' || type == '3') {
|
||||
if (type == 'null') { }
|
||||
else if (type == '0' || type == '3') {
|
||||
activeName.value = '3'
|
||||
} else {
|
||||
activeName.value = '4'
|
||||
@@ -42,7 +43,7 @@ watch(() => route.query.t, async (newValue, oldValue) => {
|
||||
key.value = (route.query.key as string) || 'null'
|
||||
id.value = id.value + '@' + route.query.t
|
||||
}
|
||||
}, {deep: true, immediate: true})
|
||||
}, { deep: true, immediate: true })
|
||||
|
||||
|
||||
const layout = mainHeight(63) as any
|
||||
|
||||
Reference in New Issue
Block a user