mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 22:51:25 +08:00
修复第一次进入语言未设置的bug
This commit is contained in:
parent
7973dc6a2c
commit
0f6c2c371a
@ -214,6 +214,7 @@ export default {
|
|||||||
? this.$utools.getDB(this.$utools.DBPRE.CFG + "preferences")
|
? this.$utools.getDB(this.$utools.DBPRE.CFG + "preferences")
|
||||||
?.codeHistory[this.action.type]
|
?.codeHistory[this.action.type]
|
||||||
: this.action.data;
|
: this.action.data;
|
||||||
|
quickCommandInfo?.program &&
|
||||||
Object.assign(this.quickcommandInfo, _.cloneDeep(quickCommandInfo));
|
Object.assign(this.quickcommandInfo, _.cloneDeep(quickCommandInfo));
|
||||||
// monaco 相关
|
// monaco 相关
|
||||||
this.$refs.editor.setEditorValue(this.quickcommandInfo.cmd);
|
this.$refs.editor.setEditorValue(this.quickcommandInfo.cmd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user