Browse Source

fix: 修改bug

wuguojie 7 months ago
parent
commit
9a18c0dc5f
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/application/form/add.vue

+ 5 - 1
src/views/application/form/add.vue

@@ -13,7 +13,8 @@
                         start-placeholder="开始日期"
                         end-placeholder="结束日期"
                         align="right"
-                        value-format="yyyy-MM-dd hh:mm:ss"
+                        value-format="yyyy-MM-dd HH:mm:ss"
+                        @change="change"
                     ></el-date-picker>
                 </el-form-item>
                 <el-form-item label="活动描述" prop="actDesc">
@@ -71,6 +72,9 @@ export default {
         }
     },
     methods: {
+        change(e) {
+            console.log('时间', e)
+        },
         getActivity() {
             api.getActivity({
                 actId: this.$route.query.id