From 37471f5d3da8e473f5762fb8f36d927bfa33e76e Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Tue, 3 May 2022 14:20:27 +0800 Subject: [PATCH] rename ccerr to ccerror --- usertool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usertool.js b/usertool.js index c695148..fdadbf9 100644 --- a/usertool.js +++ b/usertool.js @@ -34,7 +34,7 @@ export default { const pageName = this.thisPage().route || 'VueApp' console.warn('%c ' + JSON.stringify({ time: new Date().toJSON(), page: pageName }), 'color:orange', ...args) }, - ccerr (...args) { + ccerror (...args) { const pageName = this.thisPage()?.route || 'VueApp' console.error('%c ' + JSON.stringify({ time: new Date().toJSON(), page: pageName }), 'color:red', ...args) },