Add back calendar auto adjust style

This commit is contained in:
afc163
2015-11-11 17:08:31 +08:00
parent f588e480df
commit 547db94de3
4 changed files with 25 additions and 30 deletions
-5
View File
@@ -20,13 +20,8 @@ function createPicker(TheCalendar) {
onChange() {
}, // onChange 可用于 Validator
locale: {},
// 自动换方向有很多视觉和交互问题
// 需求不是很大,和设计师协商后不做
align: {
points: ['tl', 'tl'],
overflow: {adjustX: 0, adjustY: 0},
offset: [0, -10],
targetOffset: [0, 0]
}
};
},