@ -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()
}
</script>