vue過濾器在v2.0版本用法

1.x寫法javascript <body> <div id="app"> {{html|uppercase}} </div> <script> new Vue({ el:'#app', data:{ msg:"123", html:"abc" } }) </script> </body> 可是2.0中已經廢棄了過濾器,須要咱們自定義html <div id="app"> {{messag
相關文章
相關標籤/搜索