需求:GFRS-718 电投人脸识别不成功处理

变更:新增处理
变更人:丁洲
This commit is contained in:
ding.zhou
2020-03-16 23:19:31 +08:00
committed by 28CD73C051F645E8132835671423A23F
parent cf5f510660
commit d760b13c1c
5 changed files with 236 additions and 40 deletions

View File

@@ -65,6 +65,14 @@ export default {
this.$refs.file.dispatchEvent(new MouseEvent('click'))
},
addImg(e) {
this.$toast.loading({
// 持续展示 toast
duration: 0,
// 禁用背景点击s
forbidClick: true,
loadingType: 'spinner',
message: '加载中……'
})
let that = this
this.file = this.$refs.file.files[0]
var reader = new FileReader()