Merge pull request 'master' (#809) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/809
This commit is contained in:
2024-09-22 13:42:04 +00:00

View File

@@ -78,6 +78,7 @@ const getUserAgentInfo = async () => {
await getAgentInfo(userId.value).then(res => { await getAgentInfo(userId.value).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
agentInfoForm.value = res.data agentInfoForm.value = res.data
if(res.data.agentUserId) {
agentUserList.value = [ agentUserList.value = [
{ {
id: res.data.agentUserId, id: res.data.agentUserId,
@@ -85,6 +86,7 @@ const getUserAgentInfo = async () => {
companyName: res.data.agentCompanyName, companyName: res.data.agentCompanyName,
} }
] ]
}
} else { } else {
ElNotification({ ElNotification({
title: '提示', title: '提示',