cleek 1.7.5 → 1.7.6
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/cleek.es.js +5 -3
- package/dist/cleek.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -12397,6 +12397,7 @@ const __default__$1 = {
|
|
|
12397
12397
|
},
|
|
12398
12398
|
methods: {
|
|
12399
12399
|
updateCurrentPage(val) {
|
|
12400
|
+
console.log("val", val);
|
|
12400
12401
|
this.$emit("update:currentPage", val);
|
|
12401
12402
|
this.$emit("refreshList", val);
|
|
12402
12403
|
},
|
|
@@ -12409,6 +12410,7 @@ const __default__$1 = {
|
|
|
12409
12410
|
if (val === this.currentPage)
|
|
12410
12411
|
return;
|
|
12411
12412
|
this.updateCurrentPage(val);
|
|
12413
|
+
console.log("val", val);
|
|
12412
12414
|
}
|
|
12413
12415
|
}
|
|
12414
12416
|
};
|
|
@@ -12423,7 +12425,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12423
12425
|
_ctx.hasArrowLeft ? (openBlock(), createElementBlock("div", {
|
|
12424
12426
|
key: 0,
|
|
12425
12427
|
class: "ck-table__pagination--arrow-left",
|
|
12426
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.updateCurrentPage(
|
|
12428
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.updateCurrentPage(__props.currentPage - 1))
|
|
12427
12429
|
}, [
|
|
12428
12430
|
createVNode(ckIcon, { icon: "arrow-left" })
|
|
12429
12431
|
])) : createCommentVNode("", true),
|
|
@@ -12451,7 +12453,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12451
12453
|
_ctx.hasArrowRight ? (openBlock(), createElementBlock("div", {
|
|
12452
12454
|
key: 1,
|
|
12453
12455
|
class: "ck-table__pagination--arrow-right",
|
|
12454
|
-
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.updateCurrentPage(
|
|
12456
|
+
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.updateCurrentPage(__props.currentPage + 1))
|
|
12455
12457
|
}, [
|
|
12456
12458
|
createVNode(ckIcon, { icon: "arrow-right" })
|
|
12457
12459
|
])) : createCommentVNode("", true)
|
|
@@ -12460,7 +12462,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12460
12462
|
};
|
|
12461
12463
|
}
|
|
12462
12464
|
}));
|
|
12463
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
12465
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7e9a3ff7"]]);
|
|
12464
12466
|
var ckTable_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12465
12467
|
const _hoisted_1$2 = { class: "ck-table" };
|
|
12466
12468
|
const _hoisted_2 = {
|