bm-admin-ui 1.0.16-alpha → 1.0.17-alpha

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.
@@ -114,9 +114,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
114
114
  gutter: unknown[];
115
115
  };
116
116
  form: {
117
- labelCol: {
118
- [x: string]: any;
119
- };
117
+ labelCol: Record<string, any>;
120
118
  labelAlign: string;
121
119
  wrapperCol: {
122
120
  span: number;
@@ -1290,6 +1290,7 @@ const _hoisted_2$1 = { class: "bm-search-filter-actions" };
1290
1290
  const _hoisted_3$1 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
1291
1291
  const _hoisted_4$1 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
1292
1292
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1293
+ name: "search-reset-btn",
1293
1294
  props: searchResetBtnProps,
1294
1295
  emits: ["submit", "reset", "expand"],
1295
1296
  setup(__props, { emit: emits }) {
@@ -1978,7 +1979,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1978
1979
  "onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
1979
1980
  "model-value": props.value,
1980
1981
  rule: unref(rule),
1981
- option: unref(option),
1982
+ option,
1982
1983
  onChange: handleChange
1983
1984
  }, null, 8, ["api", "model-value", "rule", "option"])
1984
1985
  ], 2);
@@ -114,9 +114,7 @@ declare const _default: import("vue").DefineComponent<{
114
114
  gutter: unknown[];
115
115
  };
116
116
  form: {
117
- labelCol: {
118
- [x: string]: any;
119
- };
117
+ labelCol: Record<string, any>;
120
118
  labelAlign: string;
121
119
  wrapperCol: {
122
120
  span: number;
@@ -1625,7 +1625,7 @@ const _sfc_main$1 = defineComponent({
1625
1625
  });
1626
1626
  },
1627
1627
  getSelectName(key) {
1628
- let data = props.dataMap.get(String(key)) || null;
1628
+ let data = props.dataMap.get(key) || null;
1629
1629
  return data ? data.title : "\u672A\u77E5";
1630
1630
  }
1631
1631
  };
@@ -1846,7 +1846,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1846
1846
  ]);
1847
1847
  }), 128))
1848
1848
  ])) : createCommentVNode("v-if", true)
1849
- ], 2112))
1849
+ ], 64))
1850
1850
  ])
1851
1851
  ]),
1852
1852
  createElementVNode("div", _hoisted_14, [
@@ -1544,6 +1544,9 @@ const _sfc_main = {
1544
1544
  };
1545
1545
  state.uploadedList.push(item);
1546
1546
  });
1547
+ } else {
1548
+ state.fileList = {};
1549
+ state.uploadedList = [];
1547
1550
  }
1548
1551
  }, {
1549
1552
  immediate: true
@@ -1724,7 +1727,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1724
1727
  key: 1,
1725
1728
  file: item
1726
1729
  })
1727
- ], 2112)) : createCommentVNode("v-if", true),
1730
+ ], 64)) : createCommentVNode("v-if", true),
1728
1731
  createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
1729
1732
  item.status === "error" ? (openBlock(), createElementBlock("div", {
1730
1733
  key: 2,
@@ -1770,7 +1773,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1770
1773
  }, 8, ["class", "disabled"]),
1771
1774
  _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
1772
1775
  ])) : createCommentVNode("v-if", true)
1773
- ], 2112))
1776
+ ], 64))
1774
1777
  ]),
1775
1778
  _: 3
1776
1779
  }, 16, ["class"])) : createCommentVNode("v-if", true),