インデックスに戻ってもタイトルが残ってしまうのを修正

This commit is contained in:
tamaina 2022-04-17 05:25:15 +09:00
parent 55c6f5a740
commit 0f9bc926f5

View File

@ -272,8 +272,11 @@ onUnmounted(() => {
const emailNotConfigured = computed(() => instance.enableEmail && ($i.email == null || !$i.emailVerified));
const pageChanged = (page) => {
if (page == null) return;
childInfo.value = page[symbols.PAGE_INFO];
if (page == null) {
childInfo.value = null;
} else {
childInfo.value = page[symbols.PAGE_INFO];
}
};
defineExpose({