Commit 9897d46e authored by zhengke's avatar zhengke

修改

parent 7c37bd53
...@@ -243,12 +243,10 @@ ...@@ -243,12 +243,10 @@
} }
newArr.push(_this.dataURLtoFile(_this.msg.Sign, fileName)); newArr.push(_this.dataURLtoFile(_this.msg.Sign, fileName));
UploadSelfFile(path, newArr[0], x => { UploadSelfFile(path, newArr[0], x => {
console.log(x, 'xxxxxxx');
let Msg = JSON.parse(x.Message) let Msg = JSON.parse(x.Message)
console.log(Msg,'msg');
if(Msg&&Msg.TextDetections.length>0){ if(Msg&&Msg.TextDetections.length>0){
let StuName = Msg.TextDetections[0].DetectedText; let StuName = Msg.TextDetections[0].DetectedText;
if(StuName==this.StudentName){ if(StuName==_this.StudentName){
_this.SaveMsg(); _this.SaveMsg();
}else{ }else{
_this.$q.notify({ _this.$q.notify({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment