提交 08cc9a90 编写于 作者: Q qiang

fix: app-v3 H5 标签处理同 H5 端一致

上级 edd7281d
......@@ -2,16 +2,11 @@ const {
hasOwn
} = require('../util')
const {
getTagName
} = require('../../h5')
const tags = require('@dcloudio/uni-cli-shared/lib/tags')
const tags = require('@dcloudio/uni-cli-shared/lib/tags')
// 仅限 view 层
module.exports = function parseTag (el) {
el.tag = getTagName(el.tag)
if (el.tag.indexOf('v-uni-') !== 0 && hasOwn(tags, el.tag)) {
el.tag = 'v-uni-' + el.tag
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册