Commit cd1d9c7f by crushh

update: merge

parents cab7eacc 0d5ba65e
......@@ -7,6 +7,7 @@
<el-time-select
placeholder="起始时间"
v-model="v.startTime"
@change="$emit('change')"
:picker-options="{
start: '09:00',
step: '00:30',
......@@ -20,6 +21,7 @@
<el-time-select
placeholder="结束时间"
v-model="v.endTime"
@change="$emit('change')"
:picker-options="{
start: '09:00',
step: '00:30',
......@@ -141,7 +143,10 @@ export default {
},
submit() {
return new Promise(resolve => {
this.handleCallTime();
if (!this.handleCallTime()) {
resolve(false);
return;
}
this.$refs.defineTime.validate(val => {
if (val) {
resolve(this.form);
......
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