mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
添加相关参数不存在时的处理
This commit is contained in:
parent
015513ec45
commit
4b5309a21c
@ -113,8 +113,8 @@ export default {
|
|||||||
currentCommand.program === "custom"
|
currentCommand.program === "custom"
|
||||||
? currentCommand.customOptions
|
? currentCommand.customOptions
|
||||||
: this.$root.programs[currentCommand.program];
|
: this.$root.programs[currentCommand.program];
|
||||||
option.scptarg = currentCommand.scptarg;
|
option.scptarg = currentCommand.scptarg || "";
|
||||||
option.charset = currentCommand.charset;
|
option.charset = currentCommand.charset || {};
|
||||||
window.runCodeFile(
|
window.runCodeFile(
|
||||||
currentCommand.cmd,
|
currentCommand.cmd,
|
||||||
option,
|
option,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user