mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-09 23:13:22 +08:00
修复运行代码页面输出模式设置错误的BUG
This commit is contained in:
@@ -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",
|
||||
};
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user