最新版的Vue2.0,取消了所有Filter,只能自己動手來寫Filter,下面介紹下怎樣註冊全域性Filter. ... forEach(key => Vue.filter(key, filters[key]));.
確定! 回上一頁