顶部导航除基础设施外,禁止切换且提示正在建设中

This commit is contained in:
guoyue 2022-10-08 14:58:01 +08:00
parent d549a7f73d
commit f727efbdcd
1 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,7 @@
import Cookies from 'js-cookie' import Cookies from 'js-cookie'
import mybus from '@/myplugins/mybus' import mybus from '@/myplugins/mybus'
import { DETAIL_PAGE_CONTENT_DEFAULT_TAB } from '@/global/GlobalConfig.js' import { DETAIL_PAGE_CONTENT_DEFAULT_TAB } from '@/global/GlobalConfig.js'
import { message } from 'ant-design-vue'
const store = useStore() const store = useStore()
const router = useRouter() const router = useRouter()
@ -181,6 +182,9 @@
} }
// //
const jumpPage = (item) => { const jumpPage = (item) => {
if(item.name !== '能力集市') {
return message.warn('正在建设中!')
}
// console.log(item) // console.log(item)
select.value = item.key select.value = item.key
switch (item.name) { switch (item.name) {