讲师管理bug

This commit is contained in:
zhangsir
2024-11-19 10:56:57 +08:00
parent 430f8e09b2
commit 957b8beed7
4 changed files with 22 additions and 10 deletions

View File

@@ -679,7 +679,7 @@ export default {
getTeacherById({id:state.id}).then((res) => {
console.log("外部讲师详情", res.data);
state.formParam = res.data.data
state.formParam.description = state.formParam.description === null ? '' : state.formParam.description
state.formParam.description = state.formParam.description == null ? '<p><br></p>' : state.formParam.description
// state.formParam.photo = state.formParam.photo === null ? userInfo.value?.avatar : state.formParam.photo
})
.catch((err) => {