Commit ada55cf9 authored by youjie's avatar youjie

no message

parent fae6e02b
......@@ -241,7 +241,7 @@ const useLineBind = async(code:string) => {
const redirectUri = window.location.origin+window.location.pathname
loading.value = true
try {
const response = await userStore.setUserLineBindAsync(systemConfig.tenantId?.toString() || '', code, systemConfig.distributorId,null,redirectUri)
const response = await userStore.setUserLineBindAsync(systemConfig?.tenantId || 'default', code, systemConfig.distributorId,null,redirectUri)
if (response.status == 'SUCCESS') {
Message.success(t('personal.bindWechatSuccess'))
getPersonalInfor()
......@@ -264,7 +264,7 @@ const loginWechat = () => {
const useWechatBind = async(code:string) => {
loading.value = true
try {
const response = await userStore.setUserWechatBindAsync(systemConfig.tenantId?.toString() || '', code, systemConfig.distributorId,null,'')
const response = await userStore.setUserWechatBindAsync(systemConfig?.tenantId || 'default', code, systemConfig.distributorId,null,'')
if (response.status == 'SUCCESS') {
Message.success(t('personal.bindWechatSuccess'))
getPersonalInfor()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment