add cache.

This commit is contained in:
2023-04-17 13:50:11 +08:00
parent 3358082213
commit 9274326ac5
5 changed files with 47 additions and 6 deletions

View File

@@ -34,6 +34,10 @@ async function init() {
}
}
onMounted(init)
onBeforeUnmount(() => {
problem.value = null
errMsg.value = "无数据"
})
</script>
<template>