meixioacomponent 1.1.18 → 1.1.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meixioacomponent",
3
- "version": "1.1.18",
3
+ "version": "1.1.21",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -11,7 +11,7 @@
11
11
  >
12
12
 
13
13
 
14
- <draggable v-model="module" style="display: flex" @end="onDragEnd(module)">
14
+ <draggable v-model="module" style="display: flex" @end="onDragEnd(module)">
15
15
  <uploadMediaViewVue
16
16
  v-for="(item, index) in module"
17
17
  :key="index"
@@ -25,11 +25,10 @@
25
25
  </draggable>
26
26
 
27
27
 
28
-
29
28
  </div>
30
29
 
31
30
  <div v-if="fileType === 'other'" class="pre-view-wrap">
32
- <draggable v-model="module" group="people" @end="onDragEnd(module)">
31
+ <draggable v-model="module" group="people" @end="onDragEnd(module)">
33
32
  <uploadItemVue
34
33
  v-for="(item, index) in module"
35
34
  :key="index"
@@ -57,8 +56,8 @@
57
56
  </div>
58
57
  <div class="base-upload-footer">
59
58
  <span>
60
- 上传数量{{ max }},文件大小限制{{ fileSize }}MB{{
61
- disabled ? '' : ',支持拖拽调整顺序'
59
+ 上传数量{{ max }},文件大小限制{{ fileSize }}MB{{ noticeText ? '' : `,${noticeText}`}}{{
60
+ (disabled && max > 1) ? '' : ',支持拖拽调整顺序'
62
61
  }}
63
62
  </span>
64
63
  </div>
@@ -119,6 +118,10 @@ export default {
119
118
  type: Boolean,
120
119
  default: false,
121
120
  },
121
+ noticeText: {
122
+ type: String,
123
+ default: null
124
+ }
122
125
  },
123
126
  computed: {
124
127
  module: {