优化ArrayDict/DictEditor参数传递,修复formatString处理Array时的BUG

This commit is contained in:
fofolee
2025-01-10 18:54:11 +08:00
parent 41b3501945
commit 5e70c4c9a0
10 changed files with 372 additions and 371 deletions

View File

@@ -96,7 +96,7 @@ export default defineComponent({
},
saveFlow() {
const flow = window.lodashM.cloneDeep(this.commandFlow);
const uselessProps = ["config", "argvs", "label", "type"];
const uselessProps = ["config", "argvs", "label", "component", "subCommands", "options", "defaultValue"];
// 移除不必要属性
flow.forEach((cmd) => {
for (const props of uselessProps) {