@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.cjs.js CHANGED
@@ -16231,10 +16231,10 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
16231
16231
  "on-success": $options.hdlSuccess
16232
16232
  }, {
16233
16233
  default: vue.withCtx(() => [
16234
- ($data.fileList.length>0 && $data.fileList[0].src)
16234
+ ($data.fileList.length>0 && $data.fileList[0].response && $data.fileList[0].response.data && $data.fileList[0].response.data.src)
16235
16235
  ? (vue.openBlock(), vue.createElementBlock("img", {
16236
16236
  key: 0,
16237
- src: $data.fileList[0].src,
16237
+ src: $data.fileList[0].response.data.src,
16238
16238
  class: "avatar",
16239
16239
  style: vue.normalizeStyle($options.hdlStyleAvatarImage())
16240
16240
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$4))
@@ -16251,7 +16251,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
16251
16251
  ]),
16252
16252
  _: 1 /* STABLE */
16253
16253
  }, 8 /* PROPS */, ["style", "action", "file-list", "before-upload", "on-preview", "on-remove", "on-success"]),
16254
- ($data.fileList.length>0 && $data.fileList[0].src)
16254
+ ($data.fileList.length>0 && $data.fileList[0].response && $data.fileList[0].response.data && $data.fileList[0].response.data.src)
16255
16255
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, [
16256
16256
  vue.createVNode(_component_el_button, {
16257
16257
  size: "small",
@@ -16394,10 +16394,10 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
16394
16394
  "on-success": $options.hdlSuccess
16395
16395
  }, {
16396
16396
  default: vue.withCtx(() => [
16397
- ($data.fileList.length>0 && $data.fileList[0].src)
16397
+ ($data.fileList.length>0 && $data.fileList[0].response && $data.fileList[0].response.data && $data.fileList[0].response.data.src)
16398
16398
  ? (vue.openBlock(), vue.createElementBlock("img", {
16399
16399
  key: 0,
16400
- src: $data.fileList[0].src,
16400
+ src: $data.fileList[0].response.data.src,
16401
16401
  class: "avatar",
16402
16402
  style: vue.normalizeStyle($options.hdlStyleAvatarImage())
16403
16403
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$3))
@@ -16414,7 +16414,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
16414
16414
  ]),
16415
16415
  _: 1 /* STABLE */
16416
16416
  }, 8 /* PROPS */, ["style", "action", "file-list", "before-upload", "on-preview", "on-remove", "on-success"]),
16417
- ($data.fileList.length>0 && $data.fileList[0].src)
16417
+ ($data.fileList.length>0 && $data.fileList[0].response && $data.fileList[0].response.data && $data.fileList[0].response.data.src)
16418
16418
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$3, [
16419
16419
  vue.createVNode(_component_el_button, {
16420
16420
  size: "small",