提交 c7add9a8 编写于 作者: d-u-a's avatar d-u-a 提交者: qiang

fix: 微信ad组件:adpid 动态设置无效问题

上级 0dc17454
......@@ -5,7 +5,7 @@ module.exports = {
warn
}) {
if (process.env.UNI_PLATFORM === 'mp-weixin') {
if (el.tag === 'ad' && el.attrsMap.adpid) {
if (el.tag === 'ad' && (el.attrsMap.adpid || el.attrsMap[':adpid'])) {
el.tag = 'uniad'
}
if (AD_COMPONENTS.indexOf(el.tag) > -1) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册