update TimePicker
update TimePicker
This commit is contained in:
parent
456877a165
commit
d609ba8682
2 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
<template>
|
||||
<row>
|
||||
<i-col span="12">
|
||||
<!--<date-picker type="date" placeholder="选择日期" style="width: 200px" @on-ok="ok" confirm @on-clear="clear"></date-picker>-->
|
||||
<date-picker type="date" placeholder="选择日期" style="width: 200px" @on-ok="ok" confirm @on-clear="clear"></date-picker>
|
||||
</i-col>
|
||||
<i-col span="12">
|
||||
<date-picker :value="value3" type="daterange" placement="bottom-start" placeholder="选择日期" style="width: 200px"></date-picker>
|
||||
|
@ -40,7 +40,7 @@
|
|||
export default {
|
||||
data () {
|
||||
return {
|
||||
// value: '2016-12-12 03:03:03'
|
||||
// value: '2016-12-12 03:03:03',
|
||||
value: '15:12:01',
|
||||
value2: ['08:40:00', '09:40:00'],
|
||||
// value2: [new Date(), new Date()],
|
||||
|
@ -50,7 +50,7 @@
|
|||
methods: {
|
||||
c (s) {
|
||||
console.log(1,s);
|
||||
this.value = s;
|
||||
this.value2 = s;
|
||||
},
|
||||
ok () {
|
||||
console.log('ok');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue