修复运行代码页面输出模式设置错误的BUG

This commit is contained in:
fofolee 2025-02-16 13:42:35 +08:00
parent 522c452f85
commit c44016a5ca
2 changed files with 5 additions and 0 deletions

View File

@ -269,7 +269,11 @@ export default {
this.isSettingsVisible = true;
}
if (newProgram === "html") {
// htmloutputhtml
newCommand.output = "html";
} else if (this.isRunCodePage) {
// outputtext
newCommand.output = "text";
}
const featuresIcon = this.currentCommand.features.icon || "";
if (featuresIcon.slice(0, 10) !== "data:image") {

View File

@ -19,6 +19,7 @@ export default {
...defaultCommand,
...savedCommand,
program: "quickcomposer",
output: "text",
};
},
};