|
@@ -151,7 +151,7 @@ export const useDetail = (id: number | string): [Ref<ShaeetStatusType>, Ref<Musi
|
|
|
SettingState.sett.type = 'staff'
|
|
|
}
|
|
|
detailState.subjectId = (res.data.musicSubject || '').split(',')[0] || 0
|
|
|
- ;(window as any).DYSubjectId = formatId(res.data.code)
|
|
|
+ ;(window as any).DYSubjectId = formatId(data.value.code as any)
|
|
|
status.value = 'success'
|
|
|
})
|
|
|
.catch(() => (status.value = 'error'))
|