diff --git a/docs/.vuepress/utils/vueJson.json b/docs/.vuepress/utils/vueJson.json index 082d8d2a885fe5627e18884d76d0fdd939c15dc1..1f6be9a871272552371b42136590ac5b74e23869 100644 --- a/docs/.vuepress/utils/vueJson.json +++ b/docs/.vuepress/utils/vueJson.json @@ -1 +1,50 @@ -{"application":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| createApp() | x | x | x | x | x | x |\n| createSSRApp() | x | x | x | x | x | x |\n| mount() | x | x | x | x | x | x |\n| unmount() | x | x | x | x | x | x |\n| component() | x | x | x | x | x | x |\n| directive() | x | x | x | x | x | x |\n| use() | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| mixin() | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| provide() | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| runWithContext() | x | x | x | x | x | x |\n| version | x | x | x | x | x | x |\n| config | x | x | x | x | x | x |\n| errorHandler | x | x | x | x | x | x |\n| warnHandler | x | x | x | x | x | x |\n| performance | x | x | x | x | x | x |\n| compilerOptions | x | x | x | x | x | x |\n| globalProperties | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| optionMergeStrategies | x | x | x | x | x | x |","example":""},"general":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| version | x | x | x | x | x | x |\n| nextTick() | x | x | x | x | x | x |\n| defineComponent() | x | x | x | x | x | x |\n| defineAsyncComponent() | x | x | x | x | x | x |\n| defineCustomElement() | x | x | x | x | x | x |","example":""},"reactivity_core":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| ref() | 5.0 | √ | √ | 10.0 | √ | x |\n| computed() | 5.0 | √ | x | 10.0 | √ | x |\n| reactive() | 5.0 | √ | √ | 10.0 | √ | x |\n| readonly() | x | x | x | x | x | x |\n| watchEffect() | 5.0 | √ | x | 10.0 | √ | x |\n| watch() | 5.0 | √ | x | 10.0 | √ | x |\n| watchPostEffect() | x | x | x | x | x | x |\n| watchSyncEffect() | x | x | x | x | x | x |","example":""},"reactivity_utilities":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| isRef() | 5.0 | √ | x | 10.0 | √ | x |\n| unref() | 5.0 | √ | x | 10.0 | √ | x |\n| isReactive() | 5.0 | √ | x | 10.0 | √ | x |\n| isReadonly() | 5.0 | √ | x | 10.0 | √ | x |\n| toRef() | x | x | x | x | x | x |\n| toValue() | x | x | x | x | x | x |\n| toRefs() | x | x | x | x | x | x |\n| isProxy() | x | x | x | x | x | x |","example":""},"reactivity_advanced":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| shallowReactive() | 5.0 | √ | x | 10.0 | √ | x |\n| shallowRef() | 5.0 | √ | x | 10.0 | √ | x |\n| toRaw() | 5.0 | √ | x | 10.0 | √ | x |\n| triggerRef() | x | x | x | x | x | x |\n| customRef() | x | x | x | x | x | x |\n| shallowReadonly() | x | x | x | x | x | x |\n| markRaw() | x | x | x | x | x | x |\n| effectScope() | x | x | x | x | x | x |\n| getCurrentScope() | x | x | x | x | x | x |\n| onScopeDispose() | x | x | x | x | x | x |","example":""},"options_state":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| data | 5.0 | √ | √ | 10.0 | √ | x |\n| props | 5.0 | √ | √ | 10.0 | √ | x |\n| computed | 5.0 | √ | √ | 10.0 | √ | x |\n| methods | 5.0 | √ | √ | 10.0 | √ | x |\n| watch | 5.0 | √ | √ | 10.0 | √ | x |\n| emits | x | x | x | x | x | x |\n| expose | x | x | x | x | x | x |","example":"#### 状态选项 示例\n- [选项式 API 示例](https:/gitcode.net/dcloud/hello-uvue/-/tree/master/pages/state)"},"options_rendering":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| template | x | x | x | x | x | x |\n| render | x | x | x | x | x | x |\n| compilerOptions | x | x | x | x | x | x |\n| slots | x | x | x | x | x | x |","example":"#### 渲染选项 示例\n- [指令示例](https:/gitcode.net/dcloud/hello-uvue/-/tree/master/pages/rendering)"},"options_lifecycle":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| beforeCreate | 5.0 | √ | √ | 10.0 | √ | x |\n| created | 5.0 | √ | √ | 10.0 | √ | x |\n| beforeMount | 5.0 | √ | √ | 10.0 | √ | x |\n| mounted | 5.0 | √ | √ | 10.0 | √ | x |\n| beforeUpdate | 5.0 | √ | √ | 10.0 | √ | x |\n| updated | 5.0 | √ | √ | 10.0 | √ | x |\n| beforeUnmount | 5.0 | √ | √ | 10.0 | √ | x |\n| unmounted | 5.0 | √ | √ | 10.0 | √ | x |\n| errorCaptured | x | x | x | x | x | x |\n| renderTracked | x | x | x | x | x | x |\n| renderTriggered | x | x | x | x | x | x |\n| activated | x | x | x | x | x | x |\n| deactivated | x | x | x | x | x | x |\n| serverPrefetch | x | x | x | x | x | x |","example":"#### 页面生命周期示例 示例 \n> [hello uvue](https:/gitcode.net/dcloud/hello-uvue/-/tree/master/pages/lifecycle/page/page.uvue) \n ```html\n\n\n\n\n\n\n```\n#### 组件生命周期示例 示例 \n> [hello uvue](https:/gitcode.net/dcloud/hello-uvue/-/tree/master/pages/lifecycle/component/component.uvue) \n ```html\n\n\n\n\n```"},"options_composition":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| provide | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| inject | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| mixins | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| extends | x | x | x | x | x | x |","example":""},"options_misc":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| name | 5.0 | √ | √ | 10.0 | √ | x |\n| inheritAttrs | x | x | x | x | x | x |\n| components | 5.0 | √ | √ | 10.0 | √ | x |\n| directives | x | x | x | x | x | x |","example":""},"component_instance":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| $data | 5.0 | √ | √ | 10.0 | √ | x |\n| $props | 5.0 | √ | √ | 10.0 | √ | x |\n| $el | 5.0 | x | √ | 10.0 | x | x |\n| $options | x | x | x | x | x | x |\n| $parent | x | x | x | x | x | x |\n| $root | x | x | x | x | x | x |\n| $slots | 5.0 | √ | √ | 10.0 | √ | x |\n| $refs | 5.0 | √ | √ | 10.0 | √ | x |\n| $attrs | 5.0 | √ | √ | 10.0 | √ | x |\n| $watch() | 5.0 | √ | √ | 10.0 | √ | x |\n| $emit | 5.0 | √ | √ | 10.0 | √ | x |\n| $forceUpdate | 5.0 | √ | √ | 10.0 | √ | x |\n| $nextTick | 5.0 | √ | √ | 10.0 | √ | x |\n| $callMethod | 5.0 | x | √ | 10.0 | x | x |","example":"#### 组件实例 示例\n- [组件实例示例](https:/gitcode.net/dcloud/hello-uvue/-/tree/master/pages/component-instance)"},"directives":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| v-text | 5.0 | √ | √ | 10.0 | √ | x |\n| v-html | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| v-show | 5.0 | √ | √ | 10.0 | √ | x |\n| v-if | 5.0 | √ | √ | 10.0 | √ | x |\n| v-else | 5.0 | √ | √ | 10.0 | √ | x |\n| v-else-if | 5.0 | √ | √ | 10.0 | √ | x |\n| v-for | 5.0 | √ | √ | 10.0 | √ | x |\n| v-on | 5.0 | √ | √ | 10.0 | √ | x |\n| v-bind | 5.0 | √ | √ | 10.0 | √ | x |\n| v-model | 5.0 | √ | √ | 10.0 | √ | x |\n| v-slot | 5.0 | √ | √ | 10.0 | √ | x |\n| v-pre | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| v-once | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| v-memo | 5.0 | x | 3.99 | 10.0 | x | x |\n| v-cloak | 5.0 | x | x | 10.0 | x | x |","example":"#### 指令 示例\n- [指令示例](https:/gitcode.net/dcloud/hello-uvue/-/tree/master/pages/directive)"},"components":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| \\ | 5.0 | x | x | 10.0 | x | x |\n| \\ | 5.0 | x | x | 10.0 | x | x |\n| \\ | 5.0 | x | x | 10.0 | x | x |\n| \\ | 5.0 | x | x | 10.0 | x | x |\n| \\ | x | x | x | x | x | x |","example":""},"special_elements":{"compatibility":"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |\n| :- | :- | :- | :- | :- | :- | :- |\n| \\ | 5.0 | √ | 3.99 | 10.0 | √ | x |\n| \\ | 5.0 | √ | √ | 10.0 | √ | x |\n| \\