mooho-base-admin-plus 2.4.4 → 2.4.5

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/history.md CHANGED
@@ -36,3 +36,4 @@
36
36
  2.4.2 - 附件 json 的 file 字段支持 http 开头地址,用于外部链接
37
37
  2.4.3 - 附件下载改为弹出新页,为了兼容 某些文件下载时直接打开,无法回退。如 pdf
38
38
  2.4.4 - 附件下载 div 改为 span,解决点击空白处也会下载的问题
39
+ 2.4.5 - 修复表格中显示图片报错的 bug
@@ -44565,24 +44565,26 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
44565
44565
  ])
44566
44566
  ], 8, _hoisted_7$3);
44567
44567
  }), 128)) : createCommentVNode("v-if", true)
44568
- ], 64)) : column.controlType === "Image" ? (openBlock(), createElementBlock("div", {
44569
- key: 19,
44570
- class: "image-group",
44571
- style: normalizeStyle$1({ "justify-content": column.align ? column.align.toLowerCase() : "center" })
44572
- }, [
44573
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.parseData(row, column.code).split(","), (item, index3) => {
44574
- return openBlock(), createElementBlock("div", {
44575
- class: "image",
44576
- key: index3
44577
- }, [
44578
- item ? (openBlock(), createElementBlock("img", {
44579
- key: 0,
44580
- onClick: ($event) => $options.previewImage(item),
44581
- src: _ctx.getImgUrl(item)
44582
- }, null, 8, _hoisted_9$2)) : createCommentVNode("v-if", true)
44583
- ]);
44584
- }), 128))
44585
- ], 4)) : column.controlType === "Slider" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [
44568
+ ], 64)) : column.controlType === "Image" ? (openBlock(), createElementBlock(Fragment, { key: 19 }, [
44569
+ _ctx.parseData(row, column.code) ? (openBlock(), createElementBlock("div", {
44570
+ key: 0,
44571
+ class: "image-group",
44572
+ style: normalizeStyle$1({ "justify-content": column.align ? column.align.toLowerCase() : "center" })
44573
+ }, [
44574
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.parseData(row, column.code).split(","), (item, index3) => {
44575
+ return openBlock(), createElementBlock("div", {
44576
+ class: "image",
44577
+ key: index3
44578
+ }, [
44579
+ item ? (openBlock(), createElementBlock("img", {
44580
+ key: 0,
44581
+ onClick: ($event) => $options.previewImage(item),
44582
+ src: _ctx.getImgUrl(item)
44583
+ }, null, 8, _hoisted_9$2)) : createCommentVNode("v-if", true)
44584
+ ]);
44585
+ }), 128))
44586
+ ], 4)) : createCommentVNode("v-if", true)
44587
+ ], 64)) : column.controlType === "Slider" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [
44586
44588
  createVNode$1(_component_Slider, {
44587
44589
  "model-value": _ctx.parseData($options.rowData(row, index2), column.code),
44588
44590
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),