rename ccerr to ccerror

This commit is contained in:
陆柯 2022-05-03 14:20:27 +08:00
parent d890c19382
commit 37471f5d3d

View File

@ -34,7 +34,7 @@ export default {
const pageName = this.thisPage().route || 'VueApp' const pageName = this.thisPage().route || 'VueApp'
console.warn('%c ' + JSON.stringify({ time: new Date().toJSON(), page: pageName }), 'color:orange', ...args) console.warn('%c ' + JSON.stringify({ time: new Date().toJSON(), page: pageName }), 'color:orange', ...args)
}, },
ccerr (...args) { ccerror (...args) {
const pageName = this.thisPage()?.route || 'VueApp' const pageName = this.thisPage()?.route || 'VueApp'
console.error('%c ' + JSON.stringify({ time: new Date().toJSON(), page: pageName }), 'color:red', ...args) console.error('%c ' + JSON.stringify({ time: new Date().toJSON(), page: pageName }), 'color:red', ...args)
}, },