bill 1 rok temu
rodzic
commit
e31b99f9d6
1 zmienionych plików z 8 dodań i 1 usunięć
  1. 8 1
      src/view/statistics/index.vue

+ 8 - 1
src/view/statistics/index.vue

@@ -7,8 +7,8 @@
       <el-form-item label="统计区间:" style="grid-area: 1/2/2/4">
         <el-date-picker
           type="daterange"
-          unlink-panels
           v-model="params"
+          range-separator="-"
           placeholder="请选择"
           style="width: 400px"
         />
@@ -156,3 +156,10 @@ onUnmounted(() => window.removeEventListener("resize", resize));
   }
 }
 </style>
+
+<style lang="scss">
+.el-range-separator {
+  display: initial !important;
+  line-height: 38px;
+}
+</style>