@@ -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()
})