新增 window.temporaryStore

This commit is contained in:
fofolee
2022-04-12 10:54:35 +08:00
parent 8df2305879
commit a02392d7b5
7 changed files with 52 additions and 24 deletions

View File

@@ -45,8 +45,7 @@ export default defineComponent({
// 切到空路由
this.$router.push("loading");
// 清空临时数据
document.removeEventListener("keydown", this.$profile.tmp.handleEnter);
this.$profile.tmp = {};
window.temporaryStoreSoldOut();
// 保存偏好
this.$utools.putDB(
_.cloneDeep(this.$profile),
@@ -63,7 +62,7 @@ export default defineComponent({
font-size: 11px;
}
:root {
--q-dark: #303133;
--q-dark-page: #303133;
--q-dark: #303133;
--q-dark-page: #303133;
}
</style>