From bc2dae4a9bd423a4c741af0447c00ec168e61a37 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Fri, 31 Mar 2023 13:47:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E7=99=BB=E5=BD=95=E4=BF=A1?=
=?UTF-8?q?=E6=81=AF=E5=92=8C=E8=AE=A4=E8=AF=81=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/project/fengdu/AppNewFarmerBank/taskDetail.vue | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/project/fengdu/AppNewFarmerBank/taskDetail.vue b/src/project/fengdu/AppNewFarmerBank/taskDetail.vue
index f091259..9c8c7db 100644
--- a/src/project/fengdu/AppNewFarmerBank/taskDetail.vue
+++ b/src/project/fengdu/AppNewFarmerBank/taskDetail.vue
@@ -54,6 +54,7 @@
{{ dkqd }}/积分+{{ intoIntegral }}
+
@@ -77,7 +78,7 @@ export default {
}
},
computed: {
- ...mapState(['user']),
+ ...mapState(['user', 'token']),
intoIntegral() {
const times = new Date().getTime()
const inSTimes = new Date(this.info.intoBegintime?.replaceAll('-', '/')).getTime()
@@ -336,6 +337,11 @@ export default {
}
})
},
+ getAuth() {
+ this.$nextTick(() => {
+ this.token && this.getUserInfo('qujing')
+ })
+ }
},
onLoad(o) {
@@ -346,6 +352,9 @@ export default {
uni.setNavigationBarTitle({
title: '任务详情'
});
+ if (!this.token) {
+ this.$refs.login.show()
+ }
if (!this.user.idNumber) {
this.$dialog.confirm({
content: '您只有完成信息认证后,才可进行相关操作。',
@@ -356,6 +365,7 @@ export default {
})
} else {
this.getDetail()
+ this.showPages = true
}
this.qqmapsdk = new QQMapWX({
key: process.env.NODE_ENV == 'production' ? 'RWWBZ-64BEJ-MVLFJ-FTHLQ-JTR6J-SAB2S' : '3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY'