waiting for module cv2
This commit is contained in:
parent
3bd0724168
commit
57188ede8e
@ -32,7 +32,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async checkPhoto (photo) {
|
async checkPhoto (photo) {
|
||||||
const formData = new FormData()
|
const formData = new FormData()
|
||||||
formData.append('file', photo.file)
|
formData.append('image', photo.file)
|
||||||
|
|
||||||
const res = await this.$store.dispatch('axios/file', ['/image/check', formData])
|
const res = await this.$store.dispatch('axios/file', ['/image/check', formData])
|
||||||
return res
|
return res
|
||||||
|
@ -2,7 +2,7 @@ import axios from 'axios'
|
|||||||
|
|
||||||
export const state = () => {
|
export const state = () => {
|
||||||
return {
|
return {
|
||||||
url: 'https://161.35.216.122'
|
url: 'http://161.35.216.122/api'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user