数据处理分类新增数组处理、时间处理、字符串处理

This commit is contained in:
fofolee
2025-01-11 01:14:13 +08:00
parent e7da2d3a26
commit 44b740de5c
18 changed files with 2116 additions and 108 deletions

View File

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