| | |
| | | }, |
| | | observers: { |
| | | countdownTime: function (newValue, oldValue) { |
| | | if (this.properties.answerType == "option") { |
| | | if (this.properties.answerType == "option" || this.properties.answerType == 'interaction') { |
| | | this.setData({ |
| | | useTime: this.formatTime( |
| | | 2 * 60 * 60 * 1000 - this.properties.countdownTime |
| | |
| | | // wx.navigateBack(); |
| | | } else if ( |
| | | this.properties.answerType == "option" || |
| | | this.properties.answerType == "mock" |
| | | this.properties.answerType == "mock" || |
| | | this.properties.answerType == "interaction" |
| | | ) { |
| | | if (this.properties.submitStatus) return wx.navigateBack(); |
| | | this.properties.questionDataList.forEach((item) => { |