|
@@ -151,6 +151,7 @@ export default defineComponent({
|
|
|
try {
|
|
|
const res: any = await examinationQuestionDetail(props.item.id)
|
|
|
if (res?.data) {
|
|
|
+ console.log(res.data, 'res.data')
|
|
|
for (let key in saveModel) {
|
|
|
;(saveModel as any)[key] = res.data[key] || ''
|
|
|
}
|
|
@@ -172,7 +173,7 @@ export default defineComponent({
|
|
|
// _palyData.musicSheetId
|
|
|
// }&modelType=practice&Authorization=${userStore.getToken}`
|
|
|
|
|
|
- const prefix = /(localhost|192)/.test(location.host)
|
|
|
+ const prefix = /(localhost)/.test(location.host)
|
|
|
? 'https://test.kt.colexiu.com'
|
|
|
: apiUrl
|
|
|
musicSheetSrc.value =
|
|
@@ -586,9 +587,8 @@ export default defineComponent({
|
|
|
<div>
|
|
|
<SelectMusicSheet
|
|
|
onSelect={(row: any) => {
|
|
|
- // console.log(row)
|
|
|
playData.musicSheetId = row.id
|
|
|
- playData.musicName = row.musicSheetName
|
|
|
+ playData.musicName = row.name
|
|
|
modalData.open = false
|
|
|
// const prefix = /(localhost|192)/.test(location.host)
|
|
|
// ? 'https://ponline.colexiu.com'
|