mali-applet-ui 1.1.86 → 1.1.87

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.
@@ -187,7 +187,7 @@ export default {
187
187
  limitCount: Number,
188
188
  limitSize: {
189
189
  type: Number,
190
- default: 20480
190
+ default: Number(globalStore.upload?.limitSize || 20480)
191
191
  },
192
192
  className: String,
193
193
  mediatype: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.1.86",
3
+ "version": "1.1.87",
4
4
  "description": "码里UI-小程序组件库(vue2)",
5
5
  "files": [
6
6
  "lib",
package/utils/file.js CHANGED
@@ -23,7 +23,7 @@ export function getFilePreviewTypes () {
23
23
  }
24
24
 
25
25
  export function getImagePreviewTypes () {
26
- return ['png', 'jpg', 'gif']
26
+ return ['png', 'jpg', 'gif', 'jpeg']
27
27
  }
28
28
 
29
29
  /**