u
This commit is contained in:
parent
27559f4824
commit
2f24358bb8
5
index.js
5
index.js
@ -25,10 +25,11 @@ module.exports = {
|
||||
// 快速输出详尽提示,可用来取代 console.log
|
||||
clog(...message) {
|
||||
console.log(
|
||||
'【【【【【【【【【【',
|
||||
'【',
|
||||
getCurrentPages().length > 0 ? getCurrentPages().pop().route : 'pages/Welcome', // 在首页时,getApp() 或 getCurrentPages() 有可能获取不到。
|
||||
'【',
|
||||
...message,
|
||||
'】】】】】】】】】】】'
|
||||
'】】'
|
||||
)
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user