Quote the filter that comes with vue to report an error, such as currency reporting an error: Failed to resolve filter: currency.

quote the filter that comes with vue to report an error, such as currency error report: Failed to resolve filter: currency

related codes

< style rel= "stylesheet/scss" lang= "css" >

< / style >

< template >

<div>
    <header></header>
    

{{message | currency}}

</div>

< / template >

< script type= "text/ecmascript-6" >

export default {
    data() {
        return {
            message: 1323
        }
    },
    filters: {
    },
    created() {
    },
    methods: {}
};

< / script >

Jul.20,2021

there is no filter after vue2.X, and you must define it yourself. ide/filters.html" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d571-e8d6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d571-e8d6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?