@bsgoal/common 2.29.22 → 2.29.23

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.mjs CHANGED
@@ -6461,13 +6461,22 @@ const p1 = { class: "bsgoal-base-overview" }, _1 = { class: "base_overview" }, h
6461
6461
  options: {
6462
6462
  type: [Array],
6463
6463
  default: () => []
6464
+ },
6465
+ /**
6466
+ * 是否为小屏
6467
+ */
6468
+ column: {
6469
+ type: [
6470
+ Boolean
6471
+ ],
6472
+ default: !1
6464
6473
  }
6465
6474
  },
6466
6475
  emits: ["on-click-item"],
6467
6476
  setup(l, { emit: u }) {
6468
6477
  const r = l, d = U(!1), h = () => {
6469
6478
  en(() => {
6470
- window.innerWidth < 1500 ? d.value = !0 : d.value = !1;
6479
+ window.innerWidth < 1500 || r.column ? d.value = !0 : d.value = !1;
6471
6480
  });
6472
6481
  };
6473
6482
  h(), window.addEventListener("resize", h), Ls(() => {