From e90d722920a8733faffcd755437f7dbbb04eb8fb Mon Sep 17 00:00:00 2001 From: "271556543@qq.com" <271556543@qq.com> Date: Mon, 10 Oct 2022 17:28:50 +0800 Subject: [PATCH] 2022.10.10 --- pages/detailNursing/detailNursing.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/detailNursing/detailNursing.vue b/pages/detailNursing/detailNursing.vue index 8b8660f..8bb0c5c 100644 --- a/pages/detailNursing/detailNursing.vue +++ b/pages/detailNursing/detailNursing.vue @@ -234,7 +234,9 @@ //图片批量上传 async uploadImgs() { - let res = await uni.chooseImage() + let res = await uni.chooseImage({ + sourceType: ['camera'] + }) if (res[1]) { let promiseAll = res[1].tempFilePaths.map(item => { console.log(`${ROOTPATH}/api/nurse/upload-file`); @@ -442,7 +444,7 @@ }, mounted() { this.load() - this.getLoaction() + //this.getLoaction() } }