mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-29 04:12:45 +08:00
修复完全退出插件时无法保存历史的问题
This commit is contained in:
parent
9101892376
commit
76dd321ff6
@ -91,6 +91,7 @@ export default defineComponent({
|
||||
_.cloneDeep(this.profile),
|
||||
this.utools.DBPRE.CFG + "preferences"
|
||||
);
|
||||
this.$refs.view.$refs?.commandEditor?.saveCodeHistory()
|
||||
this.$router.push("/");
|
||||
},
|
||||
runCronTask(featureCode, cronExp) {
|
||||
|
@ -283,9 +283,6 @@ export default {
|
||||
mounted() {
|
||||
this.init();
|
||||
},
|
||||
beforeUnmount() {
|
||||
this.saveCodeHistory();
|
||||
},
|
||||
computed: {
|
||||
configurationPage() {
|
||||
return this.$root.$refs.view;
|
||||
|
Loading…
x
Reference in New Issue
Block a user