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

fix(mp-dd): using component2

上级 8d19f166
......@@ -14,9 +14,10 @@ const customizeRE = /:/g
const customize = cached((str) => {
return camelize(str.replace(customizeRE, '-'))
})
})
export const isComponent2 = my.canIUse('component2')
// 钉钉小程序是 component2 模式
export const isComponent2 = my.dd || my.canIUse('component2')
export const mocks = ['$id']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册