storeBelieveInLight 1 rok temu
rodzic
commit
46413e35c5

+ 3 - 0
components/editor.vue

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

+ 1 - 1
pages/onlineproductselection/onlineproductselection.vue

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