微调
This commit is contained in:
@@ -23,15 +23,17 @@ import { mainHeight } from '@/utils/layout'
|
||||
const route = useRoute()
|
||||
const id = ref('')
|
||||
const key = ref('')
|
||||
defineOptions({
|
||||
name: 'supervision/supervision/manage'
|
||||
})
|
||||
// defineOptions({
|
||||
// name: 'supervision/supervision/manage'
|
||||
// })
|
||||
const tabList = ref(['3', '4'])
|
||||
const activeName: any = ref('3')
|
||||
onMounted(() => {
|
||||
|
||||
let key = window.location.href.split('?')[0].slice(-1)
|
||||
const isNumber = /^\d$/.test(key)
|
||||
if (isNumber) {
|
||||
|
||||
tabList.value = [key]
|
||||
activeName.value = key
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user