BUG优化

dev
xiepeng 2024-06-04 18:03:22 +08:00
parent d0a75a5ea1
commit 7681bd4a5a
2 changed files with 8 additions and 1 deletions

View File

@ -61,7 +61,13 @@
> >
<el-table-column label="头像" align="center"> <el-table-column label="头像" align="center">
<template #default="{ row }"> <template #default="{ row }">
<img :src="row.USERAVATARPREFIX + row.USERAVATARURL_CONVERT" alt="Avatar" width="100" height="100" /> <img
v-if="row.USERAVATARPREFIX && row.USERAVATARURL_CONVERT"
:src="row.USERAVATARPREFIX + row.USERAVATARURL_CONVERT"
alt="Avatar" width="100" height="100" />
<span v-else>
{{ '暂无头像' }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="姓名" align="center"> <el-table-column label="姓名" align="center">

View File

@ -139,6 +139,7 @@ const fnSubmit = debounce(
]; ];
formData.append("CATEGORY_LIST", JSON.stringify(CATEGORY_LIST)); formData.append("CATEGORY_LIST", JSON.stringify(CATEGORY_LIST));
formData.append("ASSOCIATION", props.association); formData.append("ASSOCIATION", props.association);
formData.append("ISADD", "1");
await setThreeInstitutionalLibrariesSave(formData); await setThreeInstitutionalLibrariesSave(formData);
ElMessage.success("操作成功"); ElMessage.success("操作成功");
fnClose(); fnClose();