@vipl520/dk-ui 1.0.35 → 1.0.37
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +14 -14
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +2 -2
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +14 -14
- package/dist/web-types.json +1 -1
- package/es/table/src/components/header.vue2.mjs +3 -2
- package/es/table/src/components/header.vue2.mjs.map +1 -1
- package/es/table/utils/dkTable.mjs +11 -12
- package/es/table/utils/dkTable.mjs.map +1 -1
- package/lib/table/src/components/header.vue2.js +3 -2
- package/lib/table/src/components/header.vue2.js.map +1 -1
- package/lib/table/utils/dkTable.js +11 -12
- package/lib/table/utils/dkTable.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -28412,19 +28412,18 @@
|
|
28412
28412
|
this.runAfter("getTable", { res: cachedTableData });
|
28413
28413
|
return Promise.resolve(cachedTableData);
|
28414
28414
|
}
|
28415
|
-
} else {
|
28416
|
-
return this.api.table().then((res) => {
|
28417
|
-
this.table.column = res.data.column;
|
28418
|
-
if (res.data.pk) {
|
28419
|
-
this.table.pk = res.data.pk;
|
28420
|
-
}
|
28421
|
-
storage.set(this.api.actionUrl.get("table") + "_table", JSON.stringify(res.data));
|
28422
|
-
this.runAfter("getTable", { res });
|
28423
|
-
}).finally(() => {
|
28424
|
-
this.table.columnLoading = false;
|
28425
|
-
}).catch(() => {
|
28426
|
-
});
|
28427
28415
|
}
|
28416
|
+
return this.api.table().then((res) => {
|
28417
|
+
this.table.column = res.data.column;
|
28418
|
+
if (res.data.pk) {
|
28419
|
+
this.table.pk = res.data.pk;
|
28420
|
+
}
|
28421
|
+
storage.set(this.api.actionUrl.get("table") + "_table", JSON.stringify(res.data));
|
28422
|
+
this.runAfter("getTable", { res });
|
28423
|
+
}).finally(() => {
|
28424
|
+
this.table.columnLoading = false;
|
28425
|
+
}).catch(() => {
|
28426
|
+
});
|
28428
28427
|
};
|
28429
28428
|
/**
|
28430
28429
|
* 显示回收站
|
@@ -30567,7 +30566,8 @@
|
|
30567
30566
|
_: 1
|
30568
30567
|
/* STABLE */
|
30569
30568
|
}, 8, ["content"])) : require$$0.createCommentVNode("v-if", true),
|
30570
|
-
require$$0.
|
30569
|
+
props.buttons.includes("recycle") && require$$0.unref(DkTable).auth("recycle") ? (require$$0.openBlock(), require$$0.createBlock(_component_el_tooltip, {
|
30570
|
+
key: 6,
|
30571
30571
|
content: "\u6253\u5F00\u56DE\u6536\u7AD9",
|
30572
30572
|
placement: "top"
|
30573
30573
|
}, {
|
@@ -30589,7 +30589,7 @@
|
|
30589
30589
|
]),
|
30590
30590
|
_: 1
|
30591
30591
|
/* STABLE */
|
30592
|
-
}),
|
30592
|
+
})) : require$$0.createCommentVNode("v-if", true),
|
30593
30593
|
require$$0.createElementVNode("div", _hoisted_9$2, [
|
30594
30594
|
require$$0.createElementVNode("div", _hoisted_10$1, [
|
30595
30595
|
require$$0.createVNode(_component_el_input, {
|