小程序提交支付,出现的这个问题,请问一下怎么解决
hint: function(t, e, o, a) {
1 == t ? wx.showToast({
title: e,
icon: "none",
duration: o
}) : a(2 == t ? wx.showModal({
title: o,
content: e,
success: function(t) {
t.confirm ? wx.navigateBack() : t.cancel && wx.navigateBack();
}
}) : 3 == t ? wx.showModal({
title: o,
content: e,
success: function(t) {
t.confirm ? wx.navigateBack({
delta: 2
}) : t.cancel;
}
}) : wx.showModal({
title: o,
content: e,
success: function(t) {
console.log(t);
}
}));
},
我把代码贴出来了,这个要怎么改啊,