This commit is contained in:
2025-08-28 15:35:19 +08:00
parent 72a8665906
commit 53d5f677c4
5 changed files with 68 additions and 8 deletions

View File

@ -57,7 +57,9 @@ const props = defineProps({
});
const total = ref(0);
onMounted(() => {
if (onlyOneChild.value.meta?.title == '我的待办') {
if (onlyOneChild.value.meta?.title == '我的待办' || props.item.meta?.title == '我的任务') {
console.log(44444444);
getWaitingList();
}
});
@ -123,7 +125,8 @@ watch(
() => noticeStore.state.value.notices,
(newVal) => {
if (onlyOneChild.value.meta?.title == '我的待办') {
// 延迟1秒
console.log(121212121);
let time = setTimeout(() => {
getWaitingList();
clearTimeout(time);