子输入框

This commit is contained in:
fofolee
2022-04-10 01:54:07 +08:00
parent 73c5dbacee
commit 8cc7f4f985
3 changed files with 51 additions and 3 deletions

View File

@@ -44,6 +44,9 @@ export default defineComponent({
utools.onPluginOut(() => {
// 切到空路由
this.$router.push("loading");
// 清空临时数据
document.removeEventListener("keydown", this.$profile.tmp.handleEnter);
this.$profile.tmp = {};
// 保存偏好
this.$utools.putDB(
_.cloneDeep(this.$profile),