|
@@ -1,7 +1,6 @@
|
|
|
<script setup>
|
|
|
import {apiSystemCommon} from '@/api/system'
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
-import { MessagePlugin } from 'tdesign-vue-next';
|
|
|
|
|
|
const route=useRoute()
|
|
|
const router=useRouter()
|
|
@@ -12,7 +11,7 @@ async function handleNavigation(){
|
|
|
if(res.Ret!==200) return
|
|
|
const arr=res.Data.List||[]
|
|
|
if(arr.length===0){
|
|
|
- MessagePlugin.waring('无任何菜单权限,请联系管理员')
|
|
|
+ MessagePlugin.warning('无任何菜单权限,请联系管理员')
|
|
|
return
|
|
|
}
|
|
|
const path=arr[0].children[0].path
|