提交 38c584d3 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

feat(reactivity): toRef toValue 支持 web 端

上级 58f95fd2
......@@ -557,7 +557,6 @@
"navigationBarTitleText": "toRef"
}
},
// #ifdef APP
{
"path": "pages/reactivity/utilities/to-refs/to-refs",
"style": {
......@@ -570,7 +569,6 @@
"navigationBarTitleText": "toValue"
}
},
// #endif
{
"path": "pages/reactivity/advanced/shallow-ref/shallow-ref",
"style": {
......
......@@ -557,17 +557,11 @@ export default {
id: 'to-refs',
name: 'toRefs',
url: 'to-refs/to-refs',
// #ifdef WEB
enable: false
// #endif
},
{
id: 'to-value',
name: 'toValue',
url: 'to-value/to-value',
// #ifdef WEB
enable: false
// #endif
},
{
id: 'un-ref',
......
const PAGE_PATH = '/pages/reactivity/utilities/to-ref/to-ref'
describe('toRef', () => {
if (process.env.uniTestPlatformInfo.startsWith('web')) {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
return
}
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......
const PAGE_PATH = '/pages/reactivity/utilities/to-value/to-value'
describe('toValue', () => {
if (process.env.uniTestPlatformInfo.startsWith('web')) {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
return
}
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......
......@@ -160,7 +160,7 @@ function transform(fileInfo, api) {
- [x] v-on
- [x] v-bind
- [x] v-model
- [ ] v-slot
- [x] v-slot
- [x] v-pre
- [x] v-once
- [x] v-memo
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册