element icon indicating copy to clipboard operation
element copied to clipboard

日期时间选择器的value没有格式化

Open cfking opened this issue 9 years ago • 1 comments

日期时间选择器的value没有格式化,所见与所得不一致,设置了format只对显示有效,是特意这样设置的吗?能否提供一个同时格式化value的方法 _20170315091628

http://jsfiddle.net/nbycxvvy/2/

cfking avatar Mar 15 '17 01:03 cfking

是的,format 仅对显示有效。value 的话,可以自己在一个计算属性里对它格式化。

Leopoldthecoder avatar Mar 15 '17 03:03 Leopoldthecoder