waiting for module cv2

This commit is contained in:
Novembert 2022-01-03 21:10:45 +01:00
parent 3bd0724168
commit 57188ede8e
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export default {
},
async checkPhoto (photo) {
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])
return res

View File

@ -2,7 +2,7 @@ import axios from 'axios'
export const state = () => {
return {
url: 'https://161.35.216.122'
url: 'http://161.35.216.122/api'
}
}