(component): 回退

This commit is contained in:
就眠儀式
2022-10-06 00:11:32 +08:00
parent 7932241c95
commit 70ef7649ac
2 changed files with 4 additions and 6 deletions

View File

@@ -320,7 +320,7 @@ watch(
beforeCloseSaveData();
}
},
{ deep: true }
{ deep: true, immediate: true }
);
/**
@@ -338,7 +338,7 @@ watch(
} else {
props.end();
}
}
}, { immediate: true }
);
/**
@@ -447,8 +447,6 @@ const closeHandle = () => {
emit("close");
emit("update:modelValue", false);
props.destroy();
//Notify 从队列中移除当前实例
if (type === 6) {
//@ts-ignore
removeNotifiyFromQueen(props.id);