mali-applet-ui 0.2.74 → 0.2.75

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.
@@ -4,7 +4,7 @@
4
4
  <view v-if="mediatype === 'image'" class="ml-upload-image-list">
5
5
  <view class="ml-upload-image-item" v-for="(item, index) in fileList" :key="index">
6
6
  <image class="ml-upload-image-img" mode="aspectFit" :src="getUrl(item)" @click="previewImageEvent(item, index)"></image>
7
- <view class="ml-upload-image-del-btn" @click="removeEvent(item)">
7
+ <view v-if="!isFromReadonly" class="ml-upload-image-del-btn" @click="removeEvent(item)">
8
8
  <ml-icon name="close" />
9
9
  </view>
10
10
  </view>
@@ -39,7 +39,7 @@
39
39
  <ml-button status="primary" type="text" @click="downloadEvent(item)">下载</ml-button>
40
40
  </view>
41
41
  </view>
42
- <view class="ml-upload-file-right">
42
+ <view v-if="!isFromReadonly" class="ml-upload-file-right">
43
43
  <view class="ml-upload-file-del-btn" @click="removeEvent(item)">
44
44
  <ml-icon name="close" />
45
45
  </view>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.74",
3
+ "version": "0.2.75",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"