@ecolovo/uniapp-components 1.0.5 → 1.0.6

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.
@@ -39,7 +39,12 @@
39
39
  </view>
40
40
  </aspect-cpn>
41
41
  <!-- 上传按钮 -->
42
- <aspect-cpn v-if="!isReadonly" :class="$style['Uploader--item']" :style="styleWidth" @click="selectFile">
42
+ <aspect-cpn
43
+ v-if="!isReadonly && restCount > 0"
44
+ :class="$style['Uploader--item']"
45
+ :style="styleWidth"
46
+ @click="selectFile"
47
+ >
43
48
  <slot>
44
49
  <button-cpn plain :class="$style['Uploader--button']">
45
50
  <view style="line-height: 1.3em">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecolovo/uniapp-components",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Ecolovo UniApp 组件库",
5
5
  "keywords": [
6
6
  "uniapp",
@@ -8,7 +8,6 @@
8
8
  ],
9
9
  "author": "Yang",
10
10
  "license": "ISC",
11
- "packageManager": "pnpm@10.10.0",
12
11
  "dependencies": {
13
12
  "case-anything": "3.1.2",
14
13
  "lodash-es": "4.17.21"