@bsgoal/common 1.4.8 → 1.5.0

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
@@ -1803,6 +1803,12 @@ const va = { class: "bsgoal-base-dialog" }, ha = { class: "base_dialog" }, pa =
1803
1803
  confirmTxt: {
1804
1804
  type: [String],
1805
1805
  default: "确定"
1806
+ },
1807
+ /**
1808
+ * 宽度
1809
+ */
1810
+ width: {
1811
+ type: [String, Number]
1806
1812
  }
1807
1813
  },
1808
1814
  emits: ["update:modelValue", "on-confirm"],
@@ -1826,7 +1832,8 @@ const va = { class: "bsgoal-base-dialog" }, ha = { class: "base_dialog" }, pa =
1826
1832
  N(D, {
1827
1833
  modelValue: d.value,
1828
1834
  "onUpdate:modelValue": E[0] || (E[0] = (M) => d.value = M),
1829
- "custom-class": "bsgoal_base_dialog_main"
1835
+ "custom-class": "bsgoal_base_dialog_main",
1836
+ width: a.width
1830
1837
  }, {
1831
1838
  header: C(() => [
1832
1839
  O("div", pa, W(a.title), 1)
@@ -1856,7 +1863,7 @@ const va = { class: "bsgoal-base-dialog" }, ha = { class: "base_dialog" }, pa =
1856
1863
  ])
1857
1864
  ]),
1858
1865
  _: 3
1859
- }, 8, ["modelValue"])
1866
+ }, 8, ["modelValue", "width"])
1860
1867
  ])
1861
1868
  ]);
1862
1869
  };