Explorar el Código

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

yanglingling hace 8 meses
padre
commit
68ea82b4d6
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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()
     })