We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b603812 commit ccd111eCopy full SHA for ccd111e
dbm-ui/frontend/src/views/db-configure/hooks/useDiff.ts
@@ -42,6 +42,11 @@ export const useDiff = (data: DiffData, origin: DiffData) => {
42
const cloneData = _.cloneDeep(unref(data));
43
const cloneOrigin = _.cloneDeep(unref(origin));
44
45
+ // table 组件设置 rowKey 失效导致自动加了一个 _X_ROW_KEY 字段
46
+ cloneData.forEach((item) => {
47
+ delete item._X_ROW_KEY;
48
+ });
49
+
50
// add items
51
const created = _.differenceBy(cloneData, cloneOrigin, 'conf_name');
52
state.count.create = created.length;
0 commit comments