Commit f65b4310 by tangjiale

修复Bug

parent bf854654
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-06-06 09:28:37
* @LastEditors: tangjiale
* @LastEditTime: 2022-07-05 11:04:48
* @LastEditTime: 2022-07-05 11:15:52
-->
<template>
<div class="add-course-bg">
......@@ -205,6 +205,7 @@ export default {
onSubmit(data,form){
let that = this
this.$refs.courseFrom.validate((valid) => {
if (valid) {
if(!that.checkList.length){
that.$message.error('请选择校区')
return
......@@ -247,6 +248,7 @@ export default {
that.$notifySuccess()
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