liukangdong
2025-02-24 9a66d3a382406eda71b09ed06ddb5d4a0dc95989
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>
</style>