cloud-web-corejs 1.0.54-dev.127 → 1.0.54-dev.129

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.127",
4
+ "version": "1.0.54-dev.129",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div>
3
3
  <div id="uploadImage" :class="{ 'upload-img': dataType || ($attrs.hideInfo == true || $attrs.hideInfo == 'true') }">
4
- <div class="upload-list" model="singer" v-for="(attachment, index) in attachments"
4
+ <div class="upload-list" model="singer" v-for="(attachment, index) in attachments" :key="index"
5
5
  style="display: inline-block;vertical-align: middle;float: left;">
6
6
  <template v-if="$attrs.hideInfo !== true && $attrs.hideInfo !== 'true'">
7
7
  <div class="upload-box">
@@ -37,7 +37,7 @@
37
37
  </div>
38
38
  <div class="el-upload-input" v-if="$attrs.showNameInput">
39
39
  <el-input v-model="attachment.name" class="button-sty"
40
- :placeholder="$t2('请输入名称', 'components.VabUpload.name')" :scale="0"/>
40
+ :placeholder="$t2('请输入名称', 'components.VabUpload.name')" :scale="0"/>
41
41
  </div>
42
42
  <div class="el-upload-list__item-status-label"><i class="el-icon-upload-success el-icon-check"></i>
43
43
  </div>