3cf7cfd1
梁灏
update DatePicker
|
1
2
3
4
5
6
7
8
9
10
|
const prefixCls = 'ivu-picker-panel';
const datePrefixCls = 'ivu-date-picker';
export default {
methods: {
iconBtnCls (direction, type = '') {
return [
`${prefixCls}-icon-btn`,
`${datePrefixCls}-${direction}-btn`,
`${datePrefixCls}-${direction}-btn-arrow${type}`,
|
b0893113
jingsam
add eslint
|
11
|
];
|
3cf7cfd1
梁灏
update DatePicker
|
12
13
14
15
|
},
handleShortcutClick (shortcut) {
if (shortcut.value) this.$emit('on-pick', shortcut.value());
if (shortcut.onClick) shortcut.onClick(this);
|
b9041a0d
梁灏
DatePicker add co...
|
16
17
18
19
20
21
|
},
handlePickClear () {
this.$emit('on-pick-clear');
},
handlePickSuccess () {
this.$emit('on-pick-success');
|
68e9b100
梁灏
update DatePicker
|
22
23
24
|
},
handlePickClick () {
this.$emit('on-pick-click');
|
3cf7cfd1
梁灏
update DatePicker
|
25
26
|
}
}
|
b0893113
jingsam
add eslint
|
27
|
};
|