20260725172954

This commit is contained in:
oneao committed 2026-07-25 17:29:54 +08:00
1 parent 1b86e0043a
commit e3c7c6f8da
16 files changed
+714 -796

No files matched your search

@@ -1,5 +1,5 @@
<script setup>
import { computed, ref, watch } from "vue";
import { computed, ref, shallowRef, watch } from "vue";
import FmsTable from "@/components/fms-table/FmsTable.vue";
import { createTempId } from "@/utils/tempId";
import FieldGroupManager from "./FieldGroupManager.vue";
@@ -74,7 +74,7 @@ function makeSwitchCol(field, title, width) {
};
}
const columns = [
const columns = shallowRef([
{
dataIndex: "b_field_id",
title: "字段",
@@ -113,7 +113,7 @@ const columns = [
},
],
},
];
]);
</script>
<template>
@@ -126,7 +126,7 @@ const columns = [
</div>
<div class="panel-body">
<FmsTable
:columns="columns"
v-model:columns="columns"
:data-source="localEdit"
row-key="b_id"
:active-row-key="activeKey"