sadais-piui 1.2.7-beta112 → 1.2.7-beta113

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.
@@ -1,7 +1,7 @@
1
1
  <!--
2
2
  * @Author: zhangzhenfei
3
3
  * @Date: 2021-08-13 11:31:57
4
- * @LastEditTime: 2024-06-11 09:52:29
4
+ * @LastEditTime: 2024-06-11 11:39:08
5
5
  * @LastEditors: zhangzhenfei
6
6
  * @Description: 图片上传组件
7
7
  * @FilePath: /piui-awesome/src/piui/components/pi-upload-img/index.vue
@@ -9,9 +9,9 @@
9
9
 
10
10
  <template>
11
11
  <view
12
- class="pi-upload-img pi-pd-top-12"
12
+ class="pi-upload-img"
13
13
  :style="[customStyle]"
14
- :class="[customClass]"
14
+ :class="[customClass, { 'pi-pd-top-12': !getDisabled }]"
15
15
  >
16
16
  <!-- 已上传图片展示 -->
17
17
  <view
@@ -756,7 +756,6 @@ export default {
756
756
  const [, result] = await uni.chooseFile({
757
757
  count: this.getUploadMaxCount,
758
758
  sizeType,
759
- extension: this.getExtension,
760
759
  sourceType,
761
760
  crop
762
761
  })
@@ -814,7 +813,6 @@ export default {
814
813
  const [, result] = await uni.chooseImage({
815
814
  count: this.getUploadMaxCount,
816
815
  sizeType,
817
- extension: this.getExtension,
818
816
  sourceType,
819
817
  crop
820
818
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7-beta112",
3
+ "version": "1.2.7-beta113",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {