a889da9f by chentao

no message

1 parent 636bd61a
...@@ -281,18 +281,19 @@ function handleDel(row) { ...@@ -281,18 +281,19 @@ function handleDel(row) {
281 } 281 }
282 282
283 function submitForm(type) { 283 function submitForm(type) {
284 284 if(showForm.value.form?.type)
285 const data = { 285 const data = {
286 ...showForm.value.form, 286 ...showForm.value.form,
287 type: showForm.value.form?.type.join('、') 287 type: showForm.value.form?.type.join('、')
288 }
289 const fun = showForm.value.form?.id ? editCourse : addCourse
290 fun(data).then(res => {
291 // console.log(res);
292 proxy.$modal.msgSuccess(res.msg);
293 getList()
294 showForm.value.open = false
295 })
288 } 296 }
289 const fun = showForm.value.form?.id ? editCourse : addCourse
290 fun(data).then(res => {
291 // console.log(res);
292 proxy.$modal.msgSuccess(res.msg);
293 getList()
294 showForm.value.open = false
295 })
296 } 297 }
297 298
298 function closeDialog() { 299 function closeDialog() {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!