提交 dce25de4 编写于 作者: 雪洛's avatar 雪洛

feat: 开放部分web端测试例

上级 a0b13400
......@@ -9,13 +9,11 @@ import GlobalChildMixinComp2 from '@/pages/composition/mixins/components/GlobalC
import MixinCompForGlobalMixin from '@/pages/composition/mixins/components/MixinCompForGlobalMixin.uvue'
import MixinCompForGlobalChildMixin from '@/pages/composition/mixins/components/MixinCompForGlobalChildMixin.uvue'
// #ifdef APP-ANDROID
import plugin1 from '@/plugins/plugin1.uts'
import plugin2 from '@/plugins/plugin2.uts'
import plugin3 from '@/plugins/plugin3.uts'
import plugin4 from '@/plugins/plugin4.uts'
import CompForPlugin from '@/components/CompForPlugin.uvue'
// #endif
export function createApp() {
const app = createSSRApp(App)
......@@ -266,7 +264,6 @@ export function createApp() {
app.mixin(globalMixin)
// #endif
// #ifdef APP-ANDROID
app.use(plugin1)
app.use(plugin2)
app.use(plugin3)
......@@ -274,7 +271,6 @@ export function createApp() {
app.use(function (app: VueApp, componentName: string, componentInstance: CreateVueComponent) {
app.component(componentName, componentInstance)
}, 'CompForPlugin', CompForPlugin)
// #endif
app.config.globalProperties.globalPropertiesStr = 'default string'
app.config.globalProperties.globalPropertiesNum = 0
......
......@@ -12,7 +12,6 @@ describe('app-instance', () => {
expect(CompForAppComponentText).toBe('component for app.component')
})
it('app.use', async () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
const plugin1El = await page.$('.plugin1')
const plugin1Text = await plugin1El.text()
expect(plugin1Text).toBe('plugin1: 通过字面量方式创建的 plugin')
......@@ -36,6 +35,5 @@ describe('app-instance', () => {
const compForPluginEl = await page.$('.component-for-plugin')
const compForPluginText = await compForPluginEl.text()
expect(compForPluginText).toBe('component for plugin')
}
})
})
<template>
<view class="page">
<CompForAppComponent class="component-for-app-component" />
// #ifdef APP-ANDROID
<CompForAppUse class="component-for-app-use" />
// #endif
</view>
</template>
<script lang="uts">
import { state} from '@/store/index.uts'
import CompForAppComponent from '@/components/CompForAppComponent.uvue'
// #ifdef APP-ANDROID
import CompForAppUse from '@/components/CompForAppUse.uvue'
// #endif
export default {
components: {
CompForAppComponent,
// #ifdef APP-ANDROID
CompForAppUse
// #endif
},
methods: {
// 自动化测试
......
const PAGE_PATH = '/pages/component-instance/force-update/force-update'
describe('$forceUpdate', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -17,10 +16,4 @@ describe('$forceUpdate', () => {
const timeText2 = (await timeEl.text()).replace('Date.now(): ', '')
expect(parseInt(timeText2)).toBeGreaterThan(parseInt(timeText1))
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
......@@ -19,11 +19,7 @@ export default {
},
methods: {
testFunction () {
// #ifdef UNI-APP-X && APP-ANDROID
this.callbackValue = this.$parent!.$callMethod('testFunction') as string
// #endif
// TODO: 非 app-android 简单绕过, web 无法通过 this.$parent.functionName 调用父组件 methods 中的方法
this.callbackValue = 'parentFunctionResult'
}
}
}
......
const PAGE_PATH = '/pages/composition-api/basic/define-expose/define-expose'
describe('defineExpose', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -18,9 +17,4 @@ describe('defineExpose', () => {
expect(await fooNum.text()).toBe('num from component Foo: 1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/basic/define-model/define-model'
describe('defineModel', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -29,9 +28,4 @@ describe('defineModel', () => {
expect(await msgText.text()).toBe('msg in Foo: msg2')
expect(await msgInput.property('value')).toBe('msg2')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/basic/use-slots/use-slots'
describe('useSlots', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -25,9 +24,4 @@ describe('useSlots', () => {
expect(await checkUseSlotsRes.text()).toBe('check useSlots result: true')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/custom-ref/custom-ref'
describe('customRef', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -21,9 +20,4 @@ describe('customRef', () => {
expect(await stateCount.text()).toBe('state.count: 1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/effect-scope/effect-scope'
describe('effectScope', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -34,9 +33,4 @@ describe('effectScope', () => {
expect(await watchEffectCounterRes.text()).toBe('watchEffect counter result: counter: 1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/get-current-scope/get-current-scope'
describe('getCurrentScope', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -16,9 +15,4 @@ describe('getCurrentScope', () => {
expect(await hasCurrentScope.text()).toBe('hasCurrentScope: true')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/is-proxy/is-proxy'
describe('isProxy', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -26,9 +25,4 @@ describe('isProxy', () => {
const isProxyShallowReadonlyCount = await page.$('#is-proxy-shallow-readonly-count')
expect(await isProxyShallowReadonlyCount.text()).toBe('isProxy(shallowReadonlyCount): true')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/is-reactive/is-reactive'
describe('isReactive', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -26,9 +25,4 @@ describe('isReactive', () => {
const isReactiveShallowReadonlyCount = await page.$('#is-reactive-shallow-readonly-count')
expect(await isReactiveShallowReadonlyCount.text()).toBe('isReactive(shallowReadonlyCount): false')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/is-readonly/is-readonly'
describe('isReadonly', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -26,9 +25,4 @@ describe('isReadonly', () => {
const isReadonlyShallowReadonlyCount = await page.$('#is-readonly-shallow-readonly-count')
expect(await isReadonlyShallowReadonlyCount.text()).toBe('isReadonly(shallowReadonlyCount): true')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose'
describe('onScopeDispose', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -21,9 +20,4 @@ describe('onScopeDispose', () => {
expect(await hasCurrentScope.text()).toBe('hasCurrentScope: false')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/reactive/reactive'
describe('reactive', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -28,9 +27,4 @@ describe('reactive', () => {
expect(await objNum.text()).toBe('obj.num: 2')
expect(await objArr.text()).toBe('obj.arr: ["a","b","c","d"]')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/readonly/readonly'
describe('ref', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -42,9 +41,4 @@ describe('ref', () => {
expect(await readonlyDataNum.text()).toBe('readonly data.num: 1')
expect(await readonlyDataArr.text()).toBe('readonly data.arr: ["a","b","c","d"]')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/shallow-readonly/shallow-readonly'
describe('shallowReadonly', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -31,9 +30,4 @@ describe('shallowReadonly', () => {
stateNestedCount = await page.$('#state-nested-count')
expect(await stateNestedCount.text()).toBe('state.nested.count: 1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/to-raw/to-raw'
describe('toRaw', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -23,9 +22,4 @@ describe('toRaw', () => {
const checkToRawShallowReadonly = await page.$('#check-to-raw-shallow-readonly')
expect(await checkToRawShallowReadonly.text()).toBe('check toRaw shallowReadonly: true')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/to-ref/to-ref'
describe('toRef', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -31,9 +30,4 @@ describe('toRef', () => {
expect(await toRefObjNum.text()).toBe('toRef(obj, "num"): 2')
expect(await toRefFnObjNum.text()).toBe('toRef(() => obj.num): 2')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/to-refs/to-refs'
describe('toRefs', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -25,9 +24,4 @@ describe('toRefs', () => {
expect(await stateAsRefsNum.text()).toBe('stateAsRefs.num: 1')
expect(await stateAsRefsStr.text()).toBe('stateAsRefs.str: str-1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/to-value/to-value'
describe('toValue', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
if (process.env.uniTestPlatformInfo.startsWith('web')) {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -28,9 +33,4 @@ describe('toValue', () => {
expect(await objNum.text()).toBe('obj.num: 1')
expect(await toValueObjNum.text()).toBe('toValue(() => obj.num): 1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/trigger-ref/trigger-ref'
describe('triggerRef', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -21,9 +20,4 @@ describe('triggerRef', () => {
expect(await stateCount.text()).toBe('state.count: 1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/watch-post-effect/watch-post-effect'
describe('watchPostEffect', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -104,9 +103,4 @@ describe('watchPostEffect', () => {
const watchCountAndObjNumRes = await page.$('#watch-count-obj-num-res')
expect(await watchCountAndObjNumRes.text()).toBe('watch count and obj.num result: count: 3, obj.num: 1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition-api/reactivity/watch-sync-effect/watch-sync-effect'
describe('watchSyncEffect', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -104,9 +103,4 @@ describe('watchSyncEffect', () => {
const watchCountAndObjNumRes = await page.$('#watch-count-obj-num-res')
expect(await watchCountAndObjNumRes.text()).toBe('watch count and obj.num result: count: 3, obj.num: 1')
})
} else {
it('other platform', () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/composition/mixins/mixins-page2'
describe('mixins-page2', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
if (process.env.uniTestPlatformInfo.startsWith('web')) {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -92,10 +97,4 @@ describe('mixins-page2', () => {
const namesakeChildMixinMethodText = await namesakeChildMixinMethod.text()
expect(namesakeChildMixinMethodText).toBe('页面内的同名 child method')
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
......@@ -3,6 +3,11 @@ let page
describe('mixins', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
await page.waitFor('view')
......@@ -419,10 +424,4 @@ describe('mixins', () => {
'通过字面量定义非全局同名 child mixin method'
)
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
const PAGE_PATH = '/pages/composition/provide/provide-page2'
describe('函数方式创建 provide', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -68,10 +67,4 @@ describe('函数方式创建 provide', () => {
'providePageSet: ["函数方式定义 provide page set"]'
)
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
const PAGE_PATH = '/pages/composition/provide/provide'
describe('字面量方式创建 provide', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -97,10 +96,4 @@ describe('字面量方式创建 provide', () => {
'testInjectObjectDefaultValue.content: test inject object default value content'
)
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
const PAGE_PATH = '/pages/composition/setup/setup'
describe('options setup', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -80,10 +79,4 @@ describe('options setup', () => {
const hasDefaultSlot = await page.$('#has-default-slot')
expect(await hasDefaultSlot.text()).toBe('hasDefaultSlot: true')
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
const PAGE_PATH = '/pages/directive/v-memo/v-memo'
describe('v-memo', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -43,10 +42,4 @@ describe('v-memo', () => {
'This will change when num change, msg: msg changed, num: 1'
)
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
const PAGE_PATH = '/pages/directive/v-once/v-once'
describe('v-once', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......@@ -21,10 +20,4 @@ describe('v-once', () => {
vOnceTextText = await vOnceTextEl.text()
expect(vOnceTextText).toBe('This will never change: hello world')
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
describe('/pages/rendering/render/render', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
if (process.env.uniTestPlatformInfo.startsWith('web')) {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
let page
beforeAll(async () => {
page = await program.reLaunch('/pages/rendering/render/render')
......@@ -25,10 +30,4 @@ describe('/pages/rendering/render/render', () => {
const msgEl = await page.$('.msg')
expect(await msgEl.text()).toEqual('new msg')
})
} else {
// TODO: web 端暂不支持
it('web', async () => {
expect(1).toBe(1)
})
}
})
\ No newline at end of file
......@@ -55,12 +55,7 @@
{
name: 'defineExpose',
url: 'define-expose',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'defineOptions',
......@@ -75,22 +70,12 @@
{
name: 'defineModel',
url: 'define-model',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'useSlots',
url: 'use-slots',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'useAttrs',
......@@ -116,22 +101,12 @@
{
name: 'reactive',
url: 'reactive',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'readonly',
url: 'readonly',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'watch',
......@@ -146,22 +121,12 @@
{
name: 'watchPostEffect',
url: 'watch-post-effect',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'watchSyncEffect',
url: 'watch-sync-effect',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'isRef',
......@@ -176,12 +141,7 @@
{
name: 'toRef',
url: 'to-ref',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'toValue',
......@@ -196,42 +156,22 @@
{
name: 'toRefs',
url: 'to-refs',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'isProxy',
url: 'is-proxy',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'isReactive',
url: 'is-reactive',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'isReadonly',
url: 'is-readonly',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'shallowRef',
......@@ -241,22 +181,12 @@
{
name: 'triggerRef',
url: 'trigger-ref',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'customRef',
url: 'custom-ref',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'shallowReactive',
......@@ -266,22 +196,12 @@
{
name: 'shallowReadonly',
url: 'shallow-readonly',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'toRaw',
url: 'to-raw',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'markRaw',
......@@ -291,32 +211,17 @@
{
name: 'effectScope',
url: 'effect-scope',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'getCurrentScope',
url: 'get-current-scope',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: 'onScopeDispose',
url: 'on-scope-dispose',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
] as PageItem[],
}, {
......@@ -327,22 +232,12 @@
{
name: '页面生命周期',
url: 'page-lifecycle',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
{
name: '组件生命周期',
url: 'component-lifecycle',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
},
]
}, {
......@@ -353,12 +248,7 @@
{
name: 'provide',
url: 'provide',
// #ifdef APP
enable: true,
// #endif
// #ifdef WEB
enable: false,
// #endif
}
]
}
......
......@@ -181,22 +181,12 @@
{
name: 'v-once',
url: 'v-once',
// #ifdef APP-ANDROID
enable: true,
// #endif
// #ifndef APP-ANDROID
enable: false,
// #endif
},
{
name: 'v-memo',
url: 'v-memo',
// #ifdef APP-ANDROID
enable: true,
// #endif
// #ifndef APP-ANDROID
enable: false,
// #endif
},
{
name: 'v-cloak',
......@@ -337,12 +327,7 @@
{
name: '$forceUpdate',
url: 'force-update',
// #ifdef APP-ANDROID
enable: true,
// #endif
// #ifndef APP-ANDROID
enable: false,
// #endif
},
{
name: '$nextTick',
......@@ -384,32 +369,17 @@
{
name: 'provide',
url: 'provide',
// #ifdef APP-ANDROID
enable: true,
// #endif
// #ifndef APP-ANDROID
enable: false,
// #endif
},
{
name: 'inject',
url: 'inject',
// #ifdef APP-ANDROID
enable: true,
// #endif
// #ifndef APP-ANDROID
enable: false,
// #endif
},
{
name: 'mixins',
url: 'mixins',
// #ifdef APP-ANDROID
enable: true,
// #endif
// #ifndef APP-ANDROID
enable: false,
// #endif
},
{
name: 'extends',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册