@vunk/form 0.0.1-alpha.34 → 0.0.1-alpha.35

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.
@@ -2,7 +2,7 @@
2
2
  .vkf-upload-empty-tip{
3
3
  display: none;
4
4
  }
5
- .vkf-upload-empty-tip.is-readonly{
5
+ .vkf-upload-empty-tip.is-readonly.is-empty{
6
6
  display: block;
7
7
  }
8
8
 
@@ -479,7 +479,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
479
479
  ]), 1040, ["class", "fileList", "disabled"]),
480
480
  createElementVNode("span", {
481
481
  class: normalizeClass(["vkf-upload-empty-tip", {
482
- "is-readonly": _ctx.readonly
482
+ "is-readonly": _ctx.readonly,
483
+ "is-empty": _ctx.fileList.length === 0
483
484
  }])
484
485
  }, "\u6682\u65E0", 2)
485
486
  ];
package/index.css CHANGED
@@ -126,7 +126,7 @@
126
126
  .vkf-upload-empty-tip{
127
127
  display: none;
128
128
  }
129
- .vkf-upload-empty-tip.is-readonly{
129
+ .vkf-upload-empty-tip.is-readonly.is-empty{
130
130
  display: block;
131
131
  }
132
132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "0.0.1-alpha.34",
3
+ "version": "0.0.1-alpha.35",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {