mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-29 04:12:45 +08:00
默认命令调整
This commit is contained in:
parent
6f4bf8fe96
commit
ef82e14d37
@ -19,16 +19,15 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.runCurrentCommand();
|
let command =
|
||||||
},
|
this.featureCode.slice(0, 8) === "default_"
|
||||||
computed: {
|
? require(`../json/${this.featureCode}.json`)
|
||||||
currentCommand() {
|
: this.$root.utools.whole.db.get("qc_" + this.featureCode).data;
|
||||||
return this.$root.utools.whole.db.get("qc_" + this.featureCode).data;
|
this.runCurrentCommand(command);
|
||||||
},
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
runCurrentCommand() {
|
runCurrentCommand(command) {
|
||||||
this.$refs.result.runCurrentCommand(_.cloneDeep(this.currentCommand));
|
this.$refs.result.runCurrentCommand(_.cloneDeep(command));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user