|
@@ -317,13 +317,15 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
this.compareloading = true;
|
|
|
- compareSenTenceTime({ matchList: JSON.stringify(this.compareData) }).then(
|
|
|
- (res) => {
|
|
|
+ compareSenTenceTime({ matchList: JSON.stringify(this.compareData) })
|
|
|
+ .then((res) => {
|
|
|
console.log(res);
|
|
|
this.compareloading = false;
|
|
|
this.curQue.wordTime = res.data.result;
|
|
|
- }
|
|
|
- );
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.compareloading = false;
|
|
|
+ });
|
|
|
},
|
|
|
// 校对时间
|
|
|
compareTime(type) {
|