|
@@ -29,7 +29,7 @@ Page({
|
|
this.WxValidate = new WxValidate(rules, messages)
|
|
this.WxValidate = new WxValidate(rules, messages)
|
|
},
|
|
},
|
|
// 返回
|
|
// 返回
|
|
- back: function () { wx.navigateBack({ delta: 1 }) },
|
|
|
|
|
|
+ back: function () { wx.navigateBack({ delta: 1 }); wx.removeStorage({ key: 'searchInfo' }) },
|
|
// 详细信息
|
|
// 详细信息
|
|
toCommon: function (e) {
|
|
toCommon: function (e) {
|
|
const that = this;
|
|
const that = this;
|
|
@@ -197,8 +197,8 @@ Page({
|
|
arr = await app.$get(`/dict`, { code: "schedule_status" });
|
|
arr = await app.$get(`/dict`, { code: "schedule_status" });
|
|
if (arr.errcode == '0' && arr.total > 0) that.setData({ statusList: arr.data[0].list });
|
|
if (arr.errcode == '0' && arr.total > 0) that.setData({ statusList: arr.data[0].list });
|
|
},
|
|
},
|
|
- // 监听用户是否登录
|
|
|
|
- watchLogin: async function () {
|
|
|
|
|
|
+ // 监听用户是否登录
|
|
|
|
+ watchLogin: async function () {
|
|
const that = this;
|
|
const that = this;
|
|
wx.getStorage({
|
|
wx.getStorage({
|
|
key: 'raceuser',
|
|
key: 'raceuser',
|