mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-07 05:25:39 +08:00
修复运行代码页面输出模式设置错误的BUG
This commit is contained in:
parent
522c452f85
commit
c44016a5ca
@ -269,7 +269,11 @@ export default {
|
||||
this.isSettingsVisible = true;
|
||||
}
|
||||
if (newProgram === "html") {
|
||||
// 如果是html命令,则设置output为html
|
||||
newCommand.output = "html";
|
||||
} else if (this.isRunCodePage) {
|
||||
// 否则,运行代码页面,恢复output为text
|
||||
newCommand.output = "text";
|
||||
}
|
||||
const featuresIcon = this.currentCommand.features.icon || "";
|
||||
if (featuresIcon.slice(0, 10) !== "data:image") {
|
||||
|
@ -19,6 +19,7 @@ export default {
|
||||
...defaultCommand,
|
||||
...savedCommand,
|
||||
program: "quickcomposer",
|
||||
output: "text",
|
||||
};
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user