feat(singer): 添加歌手类型相关功能

- 在 pom.xml 中添加 Hutool 工具库依赖
- 优化前端 Singer.vue 中的歌手数据处理逻辑
- 在后端 SingerServiceImpl 中添加默认歌手类型设置功能
This commit is contained in:
ikmkj
2025-08-10 19:36:38 +08:00
parent a36ef7a561
commit 1546cdb3c4
3 changed files with 16 additions and 1 deletions

View File

@@ -261,7 +261,7 @@ const submitForm = async () => {
const singerData = {
name: form.value.name,
introduction: form.value.introduction,
type: form.value.typeId ? { id: form.value.typeId } : null
typeId: form.value.typeId || null
}
let res