@yoooloo42/joker 1.0.19 → 1.0.20

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
@@ -16227,10 +16227,10 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
16227
16227
  "on-success": $options.hdlSuccess
16228
16228
  }, {
16229
16229
  default: withCtx(() => [
16230
- ($data.fileList.length>0 && $data.fileList[0].src)
16230
+ ($data.fileList.length>0 && $data.fileList[0].response && $data.fileList[0].response.data && $data.fileList[0].response.data.src)
16231
16231
  ? (openBlock(), createElementBlock("img", {
16232
16232
  key: 0,
16233
- src: $data.fileList[0].src,
16233
+ src: $data.fileList[0].response.data.src,
16234
16234
  class: "avatar",
16235
16235
  style: normalizeStyle($options.hdlStyleAvatarImage())
16236
16236
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$4))
@@ -16247,7 +16247,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
16247
16247
  ]),
16248
16248
  _: 1 /* STABLE */
16249
16249
  }, 8 /* PROPS */, ["style", "action", "file-list", "before-upload", "on-preview", "on-remove", "on-success"]),
16250
- ($data.fileList.length>0 && $data.fileList[0].src)
16250
+ ($data.fileList.length>0 && $data.fileList[0].response && $data.fileList[0].response.data && $data.fileList[0].response.data.src)
16251
16251
  ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
16252
16252
  createVNode(_component_el_button, {
16253
16253
  size: "small",
@@ -16390,10 +16390,10 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
16390
16390
  "on-success": $options.hdlSuccess
16391
16391
  }, {
16392
16392
  default: withCtx(() => [
16393
- ($data.fileList.length>0 && $data.fileList[0].src)
16393
+ ($data.fileList.length>0 && $data.fileList[0].response && $data.fileList[0].response.data && $data.fileList[0].response.data.src)
16394
16394
  ? (openBlock(), createElementBlock("img", {
16395
16395
  key: 0,
16396
- src: $data.fileList[0].src,
16396
+ src: $data.fileList[0].response.data.src,
16397
16397
  class: "avatar",
16398
16398
  style: normalizeStyle($options.hdlStyleAvatarImage())
16399
16399
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$3))
@@ -16410,7 +16410,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
16410
16410
  ]),
16411
16411
  _: 1 /* STABLE */
16412
16412
  }, 8 /* PROPS */, ["style", "action", "file-list", "before-upload", "on-preview", "on-remove", "on-success"]),
16413
- ($data.fileList.length>0 && $data.fileList[0].src)
16413
+ ($data.fileList.length>0 && $data.fileList[0].response && $data.fileList[0].response.data && $data.fileList[0].response.data.src)
16414
16414
  ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
16415
16415
  createVNode(_component_el_button, {
16416
16416
  size: "small",