You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "XuYouyang (JIRA)" <ji...@apache.org> on 2018/06/26 10:59:00 UTC

[jira] [Commented] (WEEX-472) input 保留两位小数

    [ https://issues.apache.org/jira/browse/WEEX-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523560#comment-16523560 ] 

XuYouyang commented on WEEX-472:
--------------------------------

[~a8313935] can you give us a demo in [http://dotwe.org/vue] ?

> input 保留两位小数
> ------------
>
>                 Key: WEEX-472
>                 URL: https://issues.apache.org/jira/browse/WEEX-472
>             Project: Weex
>          Issue Type: Bug
>    Affects Versions: 0.18
>            Reporter: panqq
>            Assignee: Adam Feng
>            Priority: Major
>             Fix For: 0.16
>
>
> input控件:v-model绑定value,在@inoput中监听内容,然后将内容格式化成两位小数,把格式化的数值赋值给value,第一次输入小数点三位后,能修改成两位,但是后面就失效了



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)