693c269e by yzj

no message

1 parent ce05c660
......@@ -282,6 +282,10 @@ function submitForm(type) {
}
else{
data.type = showForm.value.form?.type.join('、')
// 确保packId被保存
if (showForm.value.form?.packId) {
data.packId = showForm.value.form.packId
}
const fun = showForm.value.form?.id ? editCourse : addCourse
fun(data).then(res => {
// 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!