From 38a657b21d070c9f36ac77d204adaa6a76094985 Mon Sep 17 00:00:00 2001 From: mxie <15623530290@163.com> Date: Sat, 8 Sep 2018 12:09:28 +0800 Subject: [PATCH] fix: timeType default --- src/panel/time.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/panel/time.js b/src/panel/time.js index 07ec6e8..d2a819e 100644 --- a/src/panel/time.js +++ b/src/panel/time.js @@ -15,7 +15,12 @@ export default { validator: val => val >= 0 && val <= 60 }, value: null, - timeType: Array, + timeType: { + type: Array, + default () { + return ['24', 'a'] + } + }, disabledTime: Function }, computed: {