Explorar o código

修复时间选择问题

wolyshaw %!s(int64=4) %!d(string=hai) anos
pai
achega
38392ce949
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/accompanyManager/accompanys.vue

+ 1 - 1
src/views/accompanyManager/accompanys.vue

@@ -840,7 +840,7 @@ export default {
       this.$refs.maskForm.validate(valid => {
       this.$refs.maskForm.validate(valid => {
         if(valid) {
         if(valid) {
           let obj = {
           let obj = {
-            startClassTime: dayjs(this.maskForm.date + ' ' + this.startTime).format('YYYY-MM-DD HH:mm:ss'),
+            startClassTime: dayjs(this.maskForm.date + ' ' + this.maskForm.startTime).format('YYYY-MM-DD HH:mm:ss'),
             id: this.maskForm.id,
             id: this.maskForm.id,
             classDate: this.maskForm.date,
             classDate: this.maskForm.date,
             groupType: 'PRACTICE'
             groupType: 'PRACTICE'