20260725172954
This commit is contained in:
1 parent
1b86e0043a
commit
e3c7c6f8da
16 files changed
+714
-796
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<script setup>
|
||||
import { ref, watch } from "vue";
|
||||
import { ref, shallowRef, watch } from "vue";
|
||||
import FmsTable from "@/components/fms-table/FmsTable.vue";
|
||||
|
||||
const FIELD_TYPES = [
|
||||
@@ -40,7 +40,7 @@ function emitUpdate() {
|
||||
);
|
||||
}
|
||||
|
||||
const columns = [
|
||||
const columns = shallowRef([
|
||||
{ dataIndex: "b_field", title: "字段名", width: 140 },
|
||||
{ dataIndex: "b_name", title: "字段名称", width: 140 },
|
||||
{
|
||||
@@ -62,7 +62,7 @@ const columns = [
|
||||
align: "center",
|
||||
editor: { type: "checkbox", onChange: () => emitUpdate() },
|
||||
},
|
||||
];
|
||||
]);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -76,7 +76,7 @@ const columns = [
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<FmsTable
|
||||
:columns="columns"
|
||||
v-model:columns="columns"
|
||||
:data-source="localFields"
|
||||
row-key="b_id"
|
||||
:active-row-key="activeKey"
|
||||
|
||||
Reference in new issue
Block a user