소스 검색

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

yanglingling 8 달 전
부모
커밋
68ea82b4d6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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()
     })