693c269e by yzj

no message

1 parent ce05c660
...@@ -282,6 +282,10 @@ function submitForm(type) { ...@@ -282,6 +282,10 @@ function submitForm(type) {
282 } 282 }
283 else{ 283 else{
284 data.type = showForm.value.form?.type.join('、') 284 data.type = showForm.value.form?.type.join('、')
285 // 确保packId被保存
286 if (showForm.value.form?.packId) {
287 data.packId = showForm.value.form.packId
288 }
285 const fun = showForm.value.form?.id ? editCourse : addCourse 289 const fun = showForm.value.form?.id ? editCourse : addCourse
286 fun(data).then(res => { 290 fun(data).then(res => {
287 // console.log(res); 291 // console.log(res);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!