|
|
@ -83,6 +83,13 @@ export default { |
|
|
|
const param = this.setParams(); |
|
|
|
await this.$u.api.saveAnswer(param); |
|
|
|
this.$refs.child.closeLoading(); |
|
|
|
// 存题号 |
|
|
|
if (this.code === 'NLCP') { |
|
|
|
this.$t.storage.setStorageSync('NLCPNum', this.questionInfo.num); |
|
|
|
} |
|
|
|
if (this.code === 'ZARIT') { |
|
|
|
this.$t.storage.setStorageSync('ZARITNum', this.questionInfo.num); |
|
|
|
} |
|
|
|
await this.next(); |
|
|
|
} catch (error) { |
|
|
|
this.$refs.child.closeLoading(); |
|
|
|