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

@ -234,7 +234,9 @@
// //
async uploadImgs() { async uploadImgs() {
let res = await uni.chooseImage() let res = await uni.chooseImage({
sourceType: ['camera']
})
if (res[1]) { if (res[1]) {
let promiseAll = res[1].tempFilePaths.map(item => { let promiseAll = res[1].tempFilePaths.map(item => {
console.log(`${ROOTPATH}/api/nurse/upload-file`); console.log(`${ROOTPATH}/api/nurse/upload-file`);
@ -442,7 +444,7 @@
}, },
mounted() { mounted() {
this.load() this.load()
this.getLoaction() //this.getLoaction()
} }
} }
</script> </script>

Loading…
Cancel
Save