diff --git a/App.vue b/App.vue index 860e559..2774ed1 100644 --- a/App.vue +++ b/App.vue @@ -55,7 +55,7 @@ export default { if (uni.getStorageSync("apply-token")) { that.checkNum(); } - }, 1 * 30 * 1000); + }, 30 * 1000); } uni.$on("isGlogin", function (data) { @@ -69,7 +69,13 @@ export default { // that.initWyyx() } }, - onHide: function () {}, + onHide: function () { + if (this.globalData.timer) { + clearInterval(this.globalData.timer); + this.globalData.timer = null; + console.log("定时任务已清除"); + } + }, methods: { initWyyx() { let that = this; diff --git a/README.md b/README.md new file mode 100644 index 0000000..2acbaa0 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# 报名助手 + +``` +段后注释文本 +上8,#999,左对齐,14px +``` \ No newline at end of file diff --git a/root/bind/myMain.vue b/root/bind/myMain.vue index 3f5689a..31defef 100644 --- a/root/bind/myMain.vue +++ b/root/bind/myMain.vue @@ -69,7 +69,7 @@ - + diff --git a/root/detail/userShare.vue b/root/detail/userShare.vue index 9eb7b82..2a2b652 100644 --- a/root/detail/userShare.vue +++ b/root/detail/userShare.vue @@ -96,14 +96,24 @@ - +
创建团队/企业
-
创建团队后可关注发单号,浏览职位及工单报名
+
团队名称/企业简称:
- +
+
创建团队后可关注发单号,浏览职位及工单报名。
取消
diff --git a/root/person/set.vue b/root/person/set.vue index 25324ef..f360b07 100644 --- a/root/person/set.vue +++ b/root/person/set.vue @@ -19,7 +19,7 @@ - 关闭后,首页收到的发单号邀请不再主动弹出 + 关闭后,首页收到的发单号邀请不再主动弹出
- +
diff --git a/utils/ajax.js b/utils/ajax.js index 34bce69..472fce2 100644 --- a/utils/ajax.js +++ b/utils/ajax.js @@ -116,6 +116,7 @@ let data = { // console.log('测试报错123123123123123123',res); // console.log('测试报错123123123123123123$url',$url); let resData = res.data; + if (resData.status == 200) {// 正常 callback(resData.data, resData.msg); } else if (resData.status == 9999) {// 登录过期或者身份变动等需要登录的场景 @@ -137,6 +138,7 @@ let data = { // } else { uni.showToast({ title: resData.msg, + // title:'系统异常,请稍后', icon: "none" }); failback(resData.msg); @@ -167,7 +169,8 @@ let data = { }, fail (error) { uni.showToast({ - title: error.errMsg, + // title: error.errMsg, + title:'系统异常,请稍后', icon: "none" }) failback(error);