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

Merge branch 'dev' of https://github.com/dcloudio/uni-app into alpha

...@@ -33,8 +33,10 @@ module.exports = function parseCustomBlocks(descriptor, options) { ...@@ -33,8 +33,10 @@ module.exports = function parseCustomBlocks(descriptor, options) {
block.attrs.lang === 'renderjs' block.attrs.lang === 'renderjs'
) )
) { ) {
descriptor.renderjs = block descriptor.renderjs = block
modules[block.attrs.module] = 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.
先完成此消息的编辑!
想要评论请 注册