提交 eee99c8a 编写于 作者: Q qiang

Merge branch 'dev' into alpha

......@@ -12,7 +12,7 @@ export default function formatLog () {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key]
}
const type = args.shift()
var type = args.shift()
if (isDebugMode()) {
args.push(args.pop().replace('at ', 'uni-app:///'))
return console[type]['apply'](console, args)
......
......@@ -44,7 +44,9 @@ module.exports = function parseCustomBlocks(descriptor, options) {
block.type === 'renderjs' ||
block.attrs.lang === 'renderjs'
)
) {
) {
block.type = 'renderjs'
block.attrs.lang = 'js'
descriptor.renderjs = preprocessBlock(block)
modules[block.attrs.module] = Object.assign({}, block, {
content: ''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册