diff --git a/src/api/work/fav.ts b/src/api/work/fav.ts index 15b6e15..ebece5c 100644 --- a/src/api/work/fav.ts +++ b/src/api/work/fav.ts @@ -5,7 +5,7 @@ export function addFav(mailId) { } export function delFav(mailId) { - return request.del({ url: '/work/favorite/' + mailId}) + return request.del({ url: '/favorite/' + mailId}) } export function listFav(query) { diff --git a/src/components/PoliceSelect.vue b/src/components/PoliceSelect.vue index 3f4a495..1c09be7 100644 --- a/src/components/PoliceSelect.vue +++ b/src/components/PoliceSelect.vue @@ -32,7 +32,6 @@ const emit = defineEmits(['update:data', 'select']) function remoteMethod(query) { const chinesePattern = /[\u4e00-\u9fa5]/; - console.log(chinesePattern.test(query), query) if (!query || !chinesePattern.test(query)) { return } diff --git a/src/layout/components/Aside.vue b/src/layout/components/Aside.vue index 5e08fdf..c5cb117 100644 --- a/src/layout/components/Aside.vue +++ b/src/layout/components/Aside.vue @@ -9,12 +9,12 @@ > @@ -25,7 +25,7 @@ (asideCollapse || (!asideCollapse && route.meta.isExpand)) " - :expand="route.meta.isExpand" + >
- - - - - - - - - - - - - - - + + @@ -193,16 +150,9 @@ - + \ No newline at end of file diff --git a/src/views/work/Done.vue b/src/views/work/Done.vue index de1ba13..9af6446 100644 --- a/src/views/work/Done.vue +++ b/src/views/work/Done.vue @@ -22,7 +22,7 @@