master
271556543@qq.com 3 years ago
parent 7392ca79c0
commit e90d722920

@ -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>

Loading…
Cancel
Save