邓洁 : 修复bug
This commit is contained in:
@@ -180,12 +180,18 @@ const changeTunnel = (e) => {
|
||||
}
|
||||
const manageSelect = (index) => {
|
||||
console.log("首页点击-", index);
|
||||
if (index === 0) {
|
||||
router.push("/site"+'/'+currentUserId.value);
|
||||
} else if (index === 1) {
|
||||
router.push("/tunnel/" + currentSiteId.value+'/i'+'/'+currentUserId.value);
|
||||
} else if (index === 2) {
|
||||
router.push("/user/" + currentSiteId.value);
|
||||
if (index === '站点管理') {
|
||||
if(currentUserId.value){
|
||||
router.push("/site"+'/'+currentUserId.value);
|
||||
}
|
||||
} else if (index === '隧道管理') {
|
||||
if(currentSiteId.value&¤tUserId.value){
|
||||
router.push("/tunnel/" + currentSiteId.value+'/i'+'/'+currentUserId.value);
|
||||
}
|
||||
} else if (index === '用户管理') {
|
||||
if(currentSiteId.value){
|
||||
router.push("/user/" + currentSiteId.value);
|
||||
}
|
||||
}
|
||||
};
|
||||
const handleChangeSite = (item) => {
|
||||
|
||||
Reference in New Issue
Block a user