fix 修复修改菜单层级后无法找到页面的问题

This commit is contained in:
疯狂的狮子Li 2022-03-09 09:30:49 +00:00 committed by Gitee
parent 62fc38078c
commit c629c77370
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 4 additions and 4 deletions

View File

@ -326,7 +326,7 @@ export default {
}, },
/** 返回按钮操作 */ /** 返回按钮操作 */
handleClose() { handleClose() {
const obj = { path: "/system/dict" }; const obj = { name: "Dict" };
this.$tab.closeOpenPage(obj); this.$tab.closeOpenPage(obj);
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */

View File

@ -151,7 +151,7 @@ export default {
}, },
// //
handleClose() { handleClose() {
const obj = { path: "/system/role" }; const obj = { name: "Role" };
this.$tab.closeOpenPage(obj); this.$tab.closeOpenPage(obj);
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */

View File

@ -109,7 +109,7 @@ export default {
}, },
/** 关闭按钮 */ /** 关闭按钮 */
close() { close() {
const obj = { path: "/system/user" }; const obj = { name: "User" };
this.$tab.closeOpenPage(obj); this.$tab.closeOpenPage(obj);
}, },
}, },

View File

@ -213,7 +213,7 @@ export default {
}, },
/** 关闭按钮 */ /** 关闭按钮 */
close() { close() {
const obj = { path: "/tool/gen", query: { t: Date.now(), pageNum: this.$route.query.pageNum } }; const obj = { name: "Gen", query: { t: Date.now(), pageNum: this.$route.query.pageNum } };
this.$tab.closeOpenPage(obj); this.$tab.closeOpenPage(obj);
} }
}, },