Explorar o código

起止日期显示更改

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
af126d988c
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      src/views/using/query.vue

+ 3 - 2
src/views/using/query.vue

@@ -265,8 +265,9 @@
                                         <div class="title">
                                             起止日期:
                                         </div>
-                                        <div v-if="guiInfoCurKey?.endDate !== '' || guiInfoCurKey?.startDate !== ''" class="text">
-                                            {{ `${splitDate(guiInfoCurKey?.startDate)}~${splitDate(guiInfoCurKey?.endDate)}` }}
+                                        <div v-if="guiInfoCurKey?.endDate !== null || guiInfoCurKey?.startDate !== null" class="text">
+                                            <div>{{ guiInfoCurKey?.startDate }}</div>
+                                            <div>{{ guiInfoCurKey?.endDate }}</div>
                                         </div>
                                         <div v-else class="text" />
                                     </div>