storeBelieveInLight 1 年之前
父節點
當前提交
46413e35c5
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      components/editor.vue
  2. 1 1
      pages/onlineproductselection/onlineproductselection.vue

+ 3 - 0
components/editor.vue

@@ -271,6 +271,9 @@ export default {
271 271
     insertImage() {
272 272
       var that = this;
273 273
       uni.chooseImage({
274
+        count: 1, // 最多可以选择的图片张数,默认9
275
+        // sizeType: ["compressed"], // original 原图,compressed 压缩图,默认二者都有
276
+        sourceType: ["album", "camera"], // album 从相册选图,camera 使用相机,默认二者都有
274 277
         async success(res) {
275 278
           console.log("选择图片成功");
276 279
           console.log(res);

+ 1 - 1
pages/onlineproductselection/onlineproductselection.vue

@@ -224,7 +224,7 @@ export default {
224 224
         uni.hideLoading();
225 225
 		  
226 226
       }finally{
227
-		   uni.hideLoading();
227
+		  //  uni.hideLoading();
228 228
 	  }
229 229
     },
230 230
     sortByPrice() {