|
@@ -229,8 +229,8 @@ Page({
|
|
|
wx.setStorageSync('questionList' + wx.getStorageSync('answersId'), this.data.questionList);
|
|
|
wx.setStorageSync('chooseValue' + wx.getStorageSync('answersId'), this.data.chooseValue);
|
|
|
console.log(this.data.questionList);
|
|
|
- console.log( this.data.chooseValue,"0000");
|
|
|
-
|
|
|
+ console.log(this.data.chooseValue, "0000");
|
|
|
+
|
|
|
// this.data.questionList[this.data.index].checked = e.detail.value;
|
|
|
|
|
|
// this.setData({
|
|
@@ -413,9 +413,16 @@ Page({
|
|
|
success(res) {}
|
|
|
})
|
|
|
} else {
|
|
|
- wx.navigateTo({
|
|
|
- url: '/pages/last/last',
|
|
|
+ wx.showModal({
|
|
|
+ showCancel: false,
|
|
|
+ content: "提交成功",
|
|
|
+ success() {
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '/pages/last/last',
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|