提交 f728bf64 authored 作者: lihuihui's avatar lihuihui
...@@ -105,6 +105,10 @@ export default { ...@@ -105,6 +105,10 @@ export default {
}, },
methods: { methods: {
onSubmit() { onSubmit() {
if (!this.ruleForm.week_json.length) {
this.$notify('不选择星期,不能进行保存')
return
}
this.isUpdate ? this.handleUpdate() : this.handleAdd() this.isUpdate ? this.handleUpdate() : this.handleAdd()
}, },
// 添加 // 添加
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论