可视化编排的命令卡片支持禁用,复制,快速打印

This commit is contained in:
fofolee
2025-01-21 01:20:03 +08:00
parent b026b484f7
commit 7a224be9f4
19 changed files with 320 additions and 44 deletions

View File

@@ -249,8 +249,9 @@ export default defineComponent({
},
},
mounted() {
if (!this.modelValue.argvs && !this.modelValue.code) {
this.updateModelValue(this.defaultArgvs);
const argvs = this.modelValue.argvs || this.defaultArgvs;
if (!this.modelValue.code) {
this.updateModelValue(argvs);
}
},
});