cee7dae9 by chentao

no message

1 parent c4b70c3f
......@@ -284,11 +284,13 @@ function submitForm(type) {
alert(showForm.value.form?.type)
const data = {
...showForm.value.form,
type: '';
type: ''
}
if(showForm.value.form?.type!="undefined"){
if(showForm.value.form?.type!=='undefined'){
alert('b');
data.type = showForm.value.form?.type.join('、')
}
alert('c');
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!