增加路由模式配置项

This commit is contained in:
yaoyn
2024-09-23 14:26:58 +08:00
parent 54def95458
commit 5cccd07068
4 changed files with 6 additions and 4 deletions

View File

@ -95,7 +95,7 @@
const selectedKeys = ref(['ToDoTasks']);
const query = unref(currentRoute).query;
let id = 'ToDoTasks';
const lHash = location.hash;
const lHash = location.hash||location.pathname;
if (lHash.indexOf('/draft') > 0) {
id = 'Drafts';
} else if (lHash.indexOf('/myProcess') > 0) {