提交 31056103 编写于 作者: fxy060608's avatar fxy060608

fix(cli): const => var

上级 530dc899
...@@ -12,7 +12,7 @@ export default function formatLog () { ...@@ -12,7 +12,7 @@ export default function formatLog () {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key] args[_key] = arguments[_key]
} }
const type = args.shift() var type = args.shift()
if (isDebugMode()) { if (isDebugMode()) {
args.push(args.pop().replace('at ', 'uni-app:///')) args.push(args.pop().replace('at ', 'uni-app:///'))
return console[type]['apply'](console, args) return console[type]['apply'](console, args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册