@vunk/form 0.0.1-alpha.36 → 0.0.1-alpha.37

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.
@@ -437,15 +437,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
437
437
  const _component_VkfFormItem = resolveComponent("VkfFormItem");
438
438
  return openBlock(), createBlock(_component_VkfFormItem, normalizeProps(guardReactiveProps(_ctx.formItemBindProps)), {
439
439
  default: withCtx(() => {
440
- var _a;
440
+ var _a, _b, _c;
441
441
  return [
442
442
  createVNode(_component_ElUpload, mergeProps({
443
443
  class: ["vkf-upload", {
444
444
  "is-readonly": _ctx.readonly,
445
- "is-empty": _ctx.fileList.length === 0
445
+ "is-empty": ((_a = _ctx.fileList) == null ? void 0 : _a.length) === 0
446
446
  }]
447
447
  }, _ctx.coreBindProps, {
448
- fileList: (_a = _ctx.fileList) != null ? _a : [],
448
+ fileList: (_b = _ctx.fileList) != null ? _b : [],
449
449
  "onUpdate:fileList": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:fileList", $event)),
450
450
  ref: "uploadRef",
451
451
  disabled: _ctx.readonly || _ctx.disabled
@@ -480,7 +480,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
480
480
  createElementVNode("span", {
481
481
  class: normalizeClass(["vkf-upload-empty-tip", {
482
482
  "is-readonly": _ctx.readonly,
483
- "is-empty": _ctx.fileList.length === 0
483
+ "is-empty": ((_c = _ctx.fileList) == null ? void 0 : _c.length) === 0
484
484
  }])
485
485
  }, "\u6682\u65E0", 2)
486
486
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "0.0.1-alpha.36",
3
+ "version": "0.0.1-alpha.37",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {