Parcourir la source

feature(消息通知):用户解绑时,添加租户码传参

yanglingling il y a 8 mois
Parent
commit
68ea82b4d6
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/view/user/index.vue

+ 2 - 1
src/view/user/index.vue

@@ -79,7 +79,8 @@
     showConfirmDialog({
       message: '确认解绑账号?'
     }).then(async () => {
-      await loginApi.weChatLogout({ code: openId.value })
+      const tenant = Local.get('Tenant')
+      await loginApi.weChatLogout({ code: openId.value, tenant: tenant })
       Local.remove('token')
       window.location.reload()
     })