Commit 503704e1 authored by 罗超's avatar 罗超
parents 43d76395 1dfea91d
...@@ -84,14 +84,13 @@ ...@@ -84,14 +84,13 @@
}, },
//保存菜单 //保存菜单
saveCourse() { saveCourse() {
if (!this.date) { if (!this.date) {
this.date = ["", ""] this.date = ["", ""]
} }
this.addMsg.StartTime = this.date[0] this.addMsg.StartTime = this.date[0]
this.addMsg.EndTime = this.date[1] this.addMsg.EndTime = this.date[1]
console.log(97, this.date, this.addMsg) console.log(97, this.date, this.addMsg)
if (this.addMsg.StartTime == "" || this.addMsg.EndTime == "") { if (this.addMsg.StartTime == "" || this.addMsg.EndTime == ""||!this.addMsg.StartTime||!this.addMsg.EndTime) {
this.$q.notify({ this.$q.notify({
icon: "error", icon: "error",
color: "negative", color: "negative",
......
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