feat: 时间选择器本地 支持时区

This commit is contained in:
zhangyu
2021-06-18 14:35:29 +08:00
parent 50e1d8f04b
commit 359d88a5b9
46 changed files with 6228 additions and 5 deletions

View File

@@ -5,6 +5,9 @@
<!-- 顶部工具栏 -->
<div class="main-container">
<div class="top-tools">
<myDatePicker
v-model="value1"
type="datetime"/>
<div class="top-tool-left" style="min-width: 300px">
<slot name="top-tool-left"></slot>
</div>
@@ -42,11 +45,13 @@
<script>
import columnCustomize from '@/components/table/ColumnCustomize'
import myDatePicker from '../common/MyDatePicker'
import { fromRoute } from '@/utils/constants'
export default {
name: 'cnDataList',
components: {
myDatePicker,
columnCustomize
},
props: {
@@ -74,7 +79,8 @@ export default {
tools: {
showCustomTableTitle: false // 自定义列弹框是否显示
},
showLayout: []
showLayout: [],
value1: 1623997984000
}
},
methods: {