提交 8bd78384 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

fix: 组合式 API 调整列表兼容性

上级 6f90a7f5
...@@ -13,5 +13,4 @@ describe('useAttrs', () => { ...@@ -13,5 +13,4 @@ describe('useAttrs', () => {
const attrsMsg = await page.$('#attrs-msg') const attrsMsg = await page.$('#attrs-msg')
expect(await attrsMsg.text()).toBe('attrs.msg: msg') expect(await attrsMsg.text()).toBe('attrs.msg: msg')
}) })
}) })
\ No newline at end of file
...@@ -327,12 +327,22 @@ ...@@ -327,12 +327,22 @@
{ {
name: '页面生命周期', name: '页面生命周期',
url: 'page-lifecycle', url: 'page-lifecycle',
// #ifdef APP
enable: true, enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
}, },
{ {
name: '组件生命周期', name: '组件生命周期',
url: 'component-lifecycle', url: 'component-lifecycle',
// #ifdef APP
enable: true, enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
}, },
] ]
}, { }, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册