@zscreate/zhxy-app-component 1.0.222 → 1.0.224

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.
@@ -63,7 +63,7 @@
63
63
  <view v-if="widget.options.disabled" class="form-input cover-text" style="height: initial;line-break: anywhere;">
64
64
  {{ dataModel }}
65
65
  </view>
66
- <textarea v-else maxlength="9999999" class="form-input cover-text" v-model="dataModel"
66
+ <textarea v-else class="form-input cover-text" v-model="dataModel"
67
67
  :style="{ height: (widget.options.height || 100) * 2 + 'px'}"
68
68
  placeholder-class="form-input-placeholder"
69
69
  :placeholder="widget.options.placeholder" :disabled="widget.options.disabled">
@@ -1925,10 +1925,11 @@ checkbox-group label {
1925
1925
 
1926
1926
  .editCorrent {
1927
1927
  position: absolute;
1928
- right: 20upx;
1929
- top: 10upx;
1928
+ right: 10upx;
1929
+ padding: 0 20rpx ;
1930
+ line-height: 72rpx;
1931
+ background: #fff;
1930
1932
  //width: 50upx;
1931
- height: 50upx;
1932
1933
  z-index: 1;
1933
1934
  img {
1934
1935
  width: 30upx;
@@ -175,6 +175,12 @@ import {downloadFile, getOpenId, toAwait} from "../../utils/util";
175
175
  title: (e && e.toString()) || '文件上传失败',
176
176
  icon: 'none'
177
177
  })
178
+ }
179
+ let message = res.message
180
+ try {
181
+ message = decodeURIComponent(message)
182
+ } catch (e) {
183
+
178
184
  }
179
185
  let uid = String(Math.random()).substr(2) - 0
180
186
  let imgObj = {
@@ -182,7 +188,7 @@ import {downloadFile, getOpenId, toAwait} from "../../utils/util";
182
188
  key: uid,
183
189
  name: that.name,
184
190
  status: "success",
185
- url: res.message
191
+ url: message
186
192
  }
187
193
  if (that.widget.options.uploadEncrypt) {
188
194
  imgObj['fileId'] = res.result.fileId
@@ -139,7 +139,12 @@ export default {
139
139
  // })
140
140
  for (let i = 0; i < lists.length; i++) {
141
141
 
142
- const { message, result = {}, success } = await this.uploadFilePromise(lists[i].url)
142
+ let { message, result = {}, success } = await this.uploadFilePromise(lists[i].url)
143
+ try {
144
+ message = decodeURIComponent(message)
145
+ } catch (e) {
146
+
147
+ }
143
148
  let id = new Date().getTime();
144
149
  if (!success) {
145
150
  return uni.showToast({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.222",
3
+ "version": "1.0.224",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",