Commit f65b4310 by tangjiale

修复Bug

parent bf854654
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-06 09:28:37 * @Date: 2022-06-06 09:28:37
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-07-05 11:04:48 * @LastEditTime: 2022-07-05 11:15:52
--> -->
<template> <template>
<div class="add-course-bg"> <div class="add-course-bg">
...@@ -205,6 +205,7 @@ export default { ...@@ -205,6 +205,7 @@ export default {
onSubmit(data,form){ onSubmit(data,form){
let that = this let that = this
this.$refs.courseFrom.validate((valid) => { this.$refs.courseFrom.validate((valid) => {
if (valid) {
if(!that.checkList.length){ if(!that.checkList.length){
that.$message.error('请选择校区') that.$message.error('请选择校区')
return return
...@@ -247,6 +248,7 @@ export default { ...@@ -247,6 +248,7 @@ export default {
that.$notifySuccess() that.$notifySuccess()
that.$emit('update') that.$emit('update')
}) })
}
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment