@zscreate/zhxy-app-component 1.0.4 → 1.0.50

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.
@@ -76,7 +76,7 @@
76
76
  {{widget.name}}
77
77
  </view>
78
78
  <view class="evan-form-item-container__main" :style="mContentStyle">
79
- <uni-rate allow-half :min="widget.options.min ? widget.options.min : 0" size="18"
79
+ <uni-rate allowHalf :min="widget.options.min ? widget.options.min : 0" size="18"
80
80
  :max="widget.options.max ? widget.options.max : 1000000" :value="dataModel" @change="changeRate"
81
81
  :disabled="widget.options.disabled">
82
82
  </uni-rate>
@@ -184,7 +184,13 @@
184
184
  console.log(this.widget, )
185
185
  if (this.disabled || (this.defaultFile.length && this.defaultFile.length >= this.widget.length)) return false;
186
186
  var that = this;
187
- wx.chooseMessageFile({
187
+ //#ifdef H5
188
+ uni.chooseFile
189
+ //#endif
190
+ // #ifdef MP-WEIXIN
191
+ wx.chooseMessageFile
192
+ // #endif
193
+ ({
188
194
  count: 1,
189
195
  type: 'all',
190
196
  success(res) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.4",
3
+ "version": "1.0.50",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",