bkui-vue 0.0.1-beta.167 → 0.0.1-beta.168

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.esm.js CHANGED
@@ -15393,10 +15393,12 @@ var Component$h = defineComponent({
15393
15393
  return (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : "Content";
15394
15394
  },
15395
15395
  footer: () => {
15396
- var _a, _b;
15397
- return createVNode("div", {
15398
- "class": "bk-sideslider-footer"
15399
- }, [(_b = (_a = slots.footer) == null ? void 0 : _a.call(slots)) != null ? _b : ""]);
15396
+ if (slots.footer) {
15397
+ return createVNode("div", {
15398
+ "class": "bk-sideslider-footer"
15399
+ }, [slots.footer()]);
15400
+ }
15401
+ return null;
15400
15402
  }
15401
15403
  };
15402
15404
  const className = `bk-sideslider-wrapper ${props2.scrollable ? "scroll-able" : ""} ${props2.extCls}`;
@@ -16338,6 +16340,9 @@ var Component$e = defineComponent({
16338
16340
  context.emit("change", listCurrent2);
16339
16341
  });
16340
16342
  watch(smallListCurrent, (smallListCurrent2) => {
16343
+ if (!props2.small) {
16344
+ return;
16345
+ }
16341
16346
  context.emit("update:modelValue", smallListCurrent2);
16342
16347
  context.emit("change", smallListCurrent2);
16343
16348
  });