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

fix(renderjs): es6 => es5 #1373

上级 42b5a30b
......@@ -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.
先完成此消息的编辑!
想要评论请 注册