@mingto/mt-ui 1.1.40 → 1.1.41

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.es.js CHANGED
@@ -7120,22 +7120,19 @@ var MtImage = withInstall$1(/* @__PURE__ */ defineComponent({
7120
7120
  class: normalizeClass(unref(ns).e("img")),
7121
7121
  style: normalizeStyle({
7122
7122
  objectFit: props.fit,
7123
- objectPosition: props.position || void 0
7123
+ objectPosition: props.position
7124
7124
  }),
7125
7125
  draggable: props.draggable,
7126
7126
  onLoad: handleLoad,
7127
7127
  onError: handleError
7128
7128
  }, null, 46, _hoisted_1$19)) : createCommentVNode("", true),
7129
- renderSlot(_ctx.$slots, "error", {}, () => [hasLoadError.value ? (openBlock(), createElementBlock("div", {
7130
- key: 0,
7131
- class: normalizeClass(unref(ns).e("error"))
7132
- }, [createVNode(unref(MtIcon), {
7129
+ hasLoadError.value ? renderSlot(_ctx.$slots, "error", { key: 1 }, () => [createElementVNode("div", { class: normalizeClass(unref(ns).e("error")) }, [createVNode(unref(MtIcon), {
7133
7130
  name: "icon-a-weitupian1",
7134
7131
  size: "40",
7135
7132
  color: "#86909c"
7136
- })], 2)) : createCommentVNode("", true)]),
7133
+ })], 2)]) : createCommentVNode("", true),
7137
7134
  isLoading.value ? (openBlock(), createElementBlock("div", {
7138
- key: 1,
7135
+ key: 2,
7139
7136
  class: normalizeClass(unref(ns).e("loading"))
7140
7137
  }, [createVNode(unref(MtLoading))], 2)) : createCommentVNode("", true)
7141
7138
  ], 6);
package/dist/index.umd.js CHANGED
@@ -7151,22 +7151,19 @@
7151
7151
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("img")),
7152
7152
  style: (0, vue.normalizeStyle)({
7153
7153
  objectFit: props.fit,
7154
- objectPosition: props.position || void 0
7154
+ objectPosition: props.position
7155
7155
  }),
7156
7156
  draggable: props.draggable,
7157
7157
  onLoad: handleLoad,
7158
7158
  onError: handleError
7159
7159
  }, null, 46, _hoisted_1$19)) : (0, vue.createCommentVNode)("", true),
7160
- (0, vue.renderSlot)(_ctx.$slots, "error", {}, () => [hasLoadError.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
7161
- key: 0,
7162
- class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("error"))
7163
- }, [(0, vue.createVNode)((0, vue.unref)(MtIcon), {
7160
+ hasLoadError.value ? (0, vue.renderSlot)(_ctx.$slots, "error", { key: 1 }, () => [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("error")) }, [(0, vue.createVNode)((0, vue.unref)(MtIcon), {
7164
7161
  name: "icon-a-weitupian1",
7165
7162
  size: "40",
7166
7163
  color: "#86909c"
7167
- })], 2)) : (0, vue.createCommentVNode)("", true)]),
7164
+ })], 2)]) : (0, vue.createCommentVNode)("", true),
7168
7165
  isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
7169
- key: 1,
7166
+ key: 2,
7170
7167
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("loading"))
7171
7168
  }, [(0, vue.createVNode)((0, vue.unref)(MtLoading))], 2)) : (0, vue.createCommentVNode)("", true)
7172
7169
  ], 6);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mingto/mt-ui",
3
3
  "type": "module",
4
- "version": "1.1.40",
4
+ "version": "1.1.41",
5
5
  "description": "UI组件库",
6
6
  "publishConfig": {
7
7
  "access": "public"