@vunk/form 1.1.53 → 1.1.54

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.
@@ -1,7 +1,7 @@
1
1
  import { _VkfFormItemCtx, VkfFormItem } from '@vunk/form/components/form-item';
2
2
  import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
3
3
  import { uploadProps, ElProgress, ElIcon, useNamespace, useLocale, ElUpload, ElLink } from 'element-plus';
4
- import { openBlock, createElementBlock, createElementVNode, defineComponent, resolveComponent, Fragment, createCommentVNode, normalizeClass, createBlock, withModifiers, createVNode, withCtx, toDisplayString, normalizeStyle, shallowRef, normalizeProps, guardReactiveProps, mergeProps, createSlots, createTextVNode, renderSlot } from 'vue';
4
+ import { openBlock, createElementBlock, createElementVNode, defineComponent, resolveComponent, Fragment, createCommentVNode, normalizeClass, createBlock, withModifiers, createVNode, withCtx, toDisplayString, normalizeStyle, shallowRef, normalizeProps, guardReactiveProps, mergeProps, createSlots, renderSlot, createTextVNode } from 'vue';
5
5
  import { pickObject } from '@vunk/core/shared/utils-object';
6
6
  import { createUploadBindProps } from '@vunk/form/shared/element-plus';
7
7
  import { NOOP } from '@vunk/core/shared/utils-function';
@@ -565,13 +565,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
565
565
  }, null, 8, ["file", "listType", "disabled", "onPreview", "onRemove"])
566
566
  ]),
567
567
  default: withCtx(() => [
568
- createVNode(_component_ElLink, { type: "primary" }, {
569
- default: withCtx(() => [
570
- createTextVNode("+ \u9009\u62E9\u6587\u4EF6")
571
- ]),
572
- _: 1
573
- }),
574
- renderSlot(_ctx.$slots, "default")
568
+ renderSlot(_ctx.$slots, "default", {}, () => [
569
+ createVNode(_component_ElLink, { type: "primary" }, {
570
+ default: withCtx(() => [
571
+ createTextVNode("+ \u9009\u62E9\u6587\u4EF6")
572
+ ]),
573
+ _: 1
574
+ })
575
+ ])
575
576
  ]),
576
577
  _: 2
577
578
  }, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "1.1.53",
3
+ "version": "1.1.54",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {