默认命令处理优化

This commit is contained in:
fofolee
2022-05-16 10:52:57 +08:00
parent 4151e1ac89
commit 384f52eb4c
2 changed files with 15 additions and 25 deletions

View File

@@ -171,9 +171,7 @@ export default defineComponent({
});
this.utools.putDB(statisticsData, "cfg_statisticsData");
// 删掉数据库内的默认命令
this.utools
.getDocs("qc_default")
.forEach((x) => this.utools.delDB(x._id));
this.utools.delAll("qc_default");
this.utools.setStorage("st_v300Inited", true);
},
},