This commit is contained in:
陆柯 2021-09-27 16:50:29 +08:00
parent 27559f4824
commit 2f24358bb8

View File

@ -25,10 +25,11 @@ module.exports = {
// 快速输出详尽提示,可用来取代 console.log
clog(...message) {
console.log(
'【【【【【【【【【【',
'【',
getCurrentPages().length > 0 ? getCurrentPages().pop().route : 'pages/Welcome', // 在首页时getApp() 或 getCurrentPages() 有可能获取不到。
'【',
...message,
'】】】】】】】】】】】'
'】】'
)
},