From 9a66d3a382406eda71b09ed06ddb5d4a0dc95989 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 24 二月 2025 16:38:22 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
---
h5/pages/staff/index.vue | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/h5/pages/staff/index.vue b/h5/pages/staff/index.vue
index 6cb007b..d9c3472 100644
--- a/h5/pages/staff/index.vue
+++ b/h5/pages/staff/index.vue
@@ -53,7 +53,7 @@
stagingHead,
wxAuthorize,
refreshToken,
- app_url,
+ app_url,
delHkUserOpenid
} from '@/api'
export default {
@@ -173,25 +173,25 @@
loginOut() {
logoutPost({
isH5: 1
- }).then(res => {
- const userInfo = uni.getStorageSync('userInfo')
- const openId = uni.getStorageSync('openId')
- this.$store.commit('empty')
- if(openId){
- delHkUserOpenid({
- userName: userInfo.username,
- openId
- }).then(ress => {
- setTimeout(() => {
- window.location.href = app_url
- }, 300)
- })
- }else{
- setTimeout(() => {
- window.location.href = app_url
- }, 300)
- }
-
+ }).then(res => {
+ const userInfo = uni.getStorageSync('userInfo')
+ const openId = uni.getStorageSync('openId')
+ this.$store.commit('empty')
+ if(openId){
+ delHkUserOpenid({
+ userName: userInfo.username,
+ openId
+ }).then(ress => {
+ setTimeout(() => {
+ window.location.href = app_url
+ }, 300)
+ })
+ }else{
+ setTimeout(() => {
+ window.location.href = app_url
+ }, 300)
+ }
+
})
},
getTaskInfo() {
@@ -328,4 +328,4 @@
height: 40rpx;
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3