c4b70c3f by chentao

no message

1 parent 86dc5581
......@@ -282,10 +282,12 @@ function handleDel(row) {
function submitForm(type) {
alert(showForm.value.form?.type)
if(showForm.value.form?.type!="undefined"){
const data = {
...showForm.value.form,
type: showForm.value.form?.type.join('、')
type: '';
}
if(showForm.value.form?.type!="undefined"){
data.type = showForm.value.form?.type.join('、')
}
const fun = showForm.value.form?.id ? editCourse : addCourse
fun(data).then(res => {
......@@ -294,7 +296,6 @@ function submitForm(type) {
getList()
showForm.value.open = false
})
}
}
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!