@vipl520/dk-ui 1.0.25 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +5 -4
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +3 -3
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/web-types.json +1 -1
- package/es/table/src/components/FieldRender.vue2.mjs +1 -0
- package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
- package/es/table/src/props.mjs +0 -1
- package/es/table/src/props.mjs.map +1 -1
- package/es/table/utils/dkTable.mjs +4 -2
- package/es/table/utils/dkTable.mjs.map +1 -1
- package/lib/table/src/components/FieldRender.vue2.js +1 -0
- package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
- package/lib/table/src/props.js +0 -1
- package/lib/table/src/props.js.map +1 -1
- package/lib/table/utils/dkTable.js +4 -2
- package/lib/table/utils/dkTable.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -366,7 +366,6 @@
|
|
366
366
|
return config2;
|
367
367
|
},
|
368
368
|
(error) => {
|
369
|
-
console.log("error", error);
|
370
369
|
return Promise.reject(error);
|
371
370
|
}
|
372
371
|
);
|
@@ -24768,7 +24767,6 @@
|
|
24768
24767
|
},
|
24769
24768
|
type: Array
|
24770
24769
|
}
|
24771
|
-
// ...ElTableNext.props,
|
24772
24770
|
};
|
24773
24771
|
|
24774
24772
|
/**!
|
@@ -28113,6 +28111,7 @@
|
|
28113
28111
|
this.runAfter("getIndex", { res });
|
28114
28112
|
}).finally(() => {
|
28115
28113
|
this.table.loading = false;
|
28114
|
+
}).catch(() => {
|
28116
28115
|
});
|
28117
28116
|
};
|
28118
28117
|
getTable = (cache = false) => {
|
@@ -28120,7 +28119,7 @@
|
|
28120
28119
|
return;
|
28121
28120
|
this.table.columnLoading = true;
|
28122
28121
|
if (cache) {
|
28123
|
-
const cachedData = storage.get(this.
|
28122
|
+
const cachedData = storage.get(this.api.actionUrl.get("table") + "_table");
|
28124
28123
|
if (cachedData) {
|
28125
28124
|
const cachedTableData = JSON.parse(cachedData);
|
28126
28125
|
this.table.column = cachedTableData.column;
|
@@ -28134,10 +28133,11 @@
|
|
28134
28133
|
if (res.data.pk) {
|
28135
28134
|
this.table.pk = res.data.pk;
|
28136
28135
|
}
|
28137
|
-
storage.set(this.
|
28136
|
+
storage.set(this.api.actionUrl.get("table") + "_table", JSON.stringify(res.data));
|
28138
28137
|
this.runAfter("getTable", { res });
|
28139
28138
|
}).finally(() => {
|
28140
28139
|
this.table.columnLoading = false;
|
28140
|
+
}).catch(() => {
|
28141
28141
|
});
|
28142
28142
|
}
|
28143
28143
|
};
|
@@ -30517,6 +30517,7 @@
|
|
30517
30517
|
loading: _ctx.row.loading,
|
30518
30518
|
"inactive-value": "0",
|
30519
30519
|
"active-value": "1",
|
30520
|
+
size: "small",
|
30520
30521
|
onChange: onChangeField
|
30521
30522
|
}, null, 8, ["model-value", "loading"])) : require$$0.createCommentVNode("v-if", true),
|
30522
30523
|
require$$0.createCommentVNode(" \u5355\u56FE "),
|