refactor: ♻️ 升级 3.x 版本,布局重构和代码规范调整

This commit is contained in:
Ray.Hao
2025-06-05 23:57:01 +08:00
96 changed files with 4186 additions and 2340 deletions

View File

@@ -547,7 +547,7 @@ const initSort = () => {
const setNodeSort = (oldIndex: number, newIndex: number) => {
// 使用arr复制一份表格数组数据
let arr = Object.assign([], genConfigFormData.value.fieldConfigs);
const arr = Object.assign([], genConfigFormData.value.fieldConfigs);
const currentRow = arr.splice(oldIndex, 1)[0];
arr.splice(newIndex, 0, currentRow);
arr.forEach((item: FieldConfig, index) => {