@vipl520/dk-ui 1.0.36 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -25048,7 +25048,7 @@
25048
25048
  },
25049
25049
  buttons: {
25050
25050
  default: () => {
25051
- return ["refresh", "add", "export_csv", "edit", "delete", "comSearch", "quickSearch", "columnDisplay"];
25051
+ return ["refresh", "add", "export_csv", "edit", "delete", "comSearch", "quickSearch", "columnDisplay", "recycle"];
25052
25052
  },
25053
25053
  type: Array
25054
25054
  }
@@ -30566,7 +30566,8 @@
30566
30566
  _: 1
30567
30567
  /* STABLE */
30568
30568
  }, 8, ["content"])) : require$$0.createCommentVNode("v-if", true),
30569
- require$$0.createVNode(_component_el_tooltip, {
30569
+ props.buttons.includes("recycle") && require$$0.unref(DkTable).auth("recycle") ? (require$$0.openBlock(), require$$0.createBlock(_component_el_tooltip, {
30570
+ key: 6,
30570
30571
  content: "\u6253\u5F00\u56DE\u6536\u7AD9",
30571
30572
  placement: "top"
30572
30573
  }, {
@@ -30588,7 +30589,7 @@
30588
30589
  ]),
30589
30590
  _: 1
30590
30591
  /* STABLE */
30591
- }),
30592
+ })) : require$$0.createCommentVNode("v-if", true),
30592
30593
  require$$0.createElementVNode("div", _hoisted_9$2, [
30593
30594
  require$$0.createElementVNode("div", _hoisted_10$1, [
30594
30595
  require$$0.createVNode(_component_el_input, {