Open catherchen opened 2 years ago
2.15.8
window/chrome
2.6.5
https://codepen.io/catherchen/pen/eYVaYmq
1、open Reproduction Link 2、分别切换 v-model="timestampFormat" 和 v-model="dateFomrat" timestampFormat 会报错
fix bug
TypeError: dateStr.match is not a function
使用timestampFormat,需要value-format="timestamp"
timestampFormat
value-format="timestamp"
Element UI version
2.15.8
OS/Browsers version
window/chrome
Vue version
2.6.5
Reproduction Link
https://codepen.io/catherchen/pen/eYVaYmq
Steps to reproduce
1、open Reproduction Link 2、分别切换 v-model="timestampFormat" 和 v-model="dateFomrat" timestampFormat 会报错
What is Expected?
fix bug
What is actually happening?
TypeError: dateStr.match is not a function