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

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

View File

@@ -275,6 +275,7 @@ const getUserAgentInfo = async () => {
await getAgentInfo().then(res => { await getAgentInfo().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,
@@ -282,6 +283,7 @@ const getUserAgentInfo = async () => {
companyName:res.data.agentCompanyName, companyName:res.data.agentCompanyName,
} }
] ]
}
}else { }else {
ElNotification({ ElNotification({
title: '提示', title: '提示',