Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
unidocs-uni-app-x-zh
提交
64687fab
U
unidocs-uni-app-x-zh
项目概览
DCloud
/
unidocs-uni-app-x-zh
通知
144
Star
2
Fork
33
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
9
列表
看板
标记
里程碑
合并请求
11
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
unidocs-uni-app-x-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
9
Issue
9
列表
看板
标记
里程碑
合并请求
11
合并请求
11
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
64687fab
编写于
12月 16, 2023
作者:
DCloud-WZF
💬
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs(vue): 更新 api 兼容性
上级
76e8db4c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
9 addition
and
9 deletion
+9
-9
docs/.vuepress/utils/vueJson.json
docs/.vuepress/utils/vueJson.json
+9
-9
未找到文件。
docs/.vuepress/utils/vueJson.json
浏览文件 @
64687fab
{
"application"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| app.component() | 5.0 | √ | √ | 10.0 | √ | x |
\n
| app.directive() | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.use() | 5.0 | √ |
x | 10.0 | √ | x |
\n
| app.mixin() | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.provide() | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config | 5.0 | √ | √ | 10.0 | √ | x |
\n
| app.config.errorHandler | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.warnHandler | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.performance | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.globalProperties | 5.0 | √ | x
| 10.0 | √ | x |
\n
| app.config.optionMergeStrategies | 5.0 | √ | x | 10.0 | √ | x |"
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| app.component() | 5.0 | √ | √ | 10.0 | √ | x |
\n
| app.directive() | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.use() | 5.0 | √ |
3.99 | 10.0 | √ | x |
\n
| app.mixin() | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| app.provide() | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| app.config | 5.0 | √ | √ | 10.0 | √ | x |
\n
| app.config.errorHandler | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.warnHandler | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.performance | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.globalProperties | 5.0 | √ | 3.99
| 10.0 | √ | x |
\n
| app.config.optionMergeStrategies | 5.0 | √ | x | 10.0 | √ | x |"
},
"general"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| nextTick() | 5.0 | x | √ | 10.0 | x | x |
\n
| defineComponent() | 5.0 | x | x | 10.0 | x | x |
\n
| defineAsyncComponent() | 5.0 | x | x | 10.0 | x | x |"
...
...
@@ -18,33 +18,33 @@
"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 | 5.0 | √ | √ | 10.0 | √ | x |"
},
"options_rendering"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| template | 5.0 | x | x | 10.0 | x | x |
\n
| render | 5.0 | x |
x
| 10.0 | x | x |"
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| template | 5.0 | x | x | 10.0 | x | x |
\n
| render | 5.0 | x |
3.99
| 10.0 | x | x |"
},
"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 | 5.0 | √ | x | 10.0 | √ | x |
\n
| renderTracked | 5.0 | √ | x | 10.0 | √ | x |
\n
| renderTriggered | 5.0 | √ | x | 10.0 | √ | x |
\n
| activated | 5.0 | √ | x | 10.0 | √ | x |
\n
| deactivated | 5.0 | √ | x | 10.0 | √ | x |"
},
"options_composition"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| provide | 5.0 | √ |
x | 10.0 | √ | x |
\n
| inject | 5.0 | √ | x | 10.0 | √ | x |
\n
| mixins | 5.0 | √ | x
| 10.0 | √ | x |
\n
| extends | 5.0 | √ | x | 10.0 | √ | x |"
"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 | 5.0 | √ | x | 10.0 | √ | x |"
},
"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 | 5.0 | √ | √ | 10.0 | √ | x |
\n
| components | 5.0 | √ | √ | 10.0 | √ | x |
\n
| directives | 5.0 | √ | x | 10.0 | √ | x |"
},
"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 | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $parent | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $root | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $slots | 5.0 | x | √ | 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 | √ |
x
| 10.0 | √ | x |
\n
| $nextTick | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $callMethod | 5.0 | x | √ | 10.0 | x | x |"
"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 | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $parent | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $root | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $slots | 5.0 | x | √ | 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 | √ |
3.99
| 10.0 | √ | x |
\n
| $nextTick | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $callMethod | 5.0 | x | √ | 10.0 | x | x |"
},
"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 | √ |
x | 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 | √ | x | 10.0 | √ | x |
\n
| v-once | 5.0 | √ | x | 10.0 | √ | x |
\n
| v-memo | 5.0 | x | x
| 10.0 | x | x |
\n
| v-cloak | 5.0 | x | x | 10.0 | x | x |"
"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 |"
},
"components"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
|
\\
<Transition> | 5.0 | x | x | 10.0 | x | x |
\n
|
\\
<TransitionGroup> | 5.0 | x | x | 10.0 | x | x |
\n
|
\\
<KeepAlive> | 5.0 | x | x | 10.0 | x | x |
\n
|
\\
<Teleport> | 5.0 | x | x | 10.0 | x | x |"
},
"special_elements"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
|
\\
<component> | 5.0 | √ |
x
| 10.0 | √ | x |
\n
|
\\
<slot> | 5.0 | √ | √ | 10.0 | √ | x |
\n
|
\\
<template> | 5.0 | √ | √ | 10.0 | √ | x |"
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
|
\\
<component> | 5.0 | √ |
3.99
| 10.0 | √ | x |
\n
|
\\
<slot> | 5.0 | √ | √ | 10.0 | √ | x |
\n
|
\\
<template> | 5.0 | √ | √ | 10.0 | √ | x |"
},
"special_attributes"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| key | 5.0 | √ | √ | 10.0 | √ | x |
\n
| ref | 5.0 | √ | √ | 10.0 | √ | x |
\n
| is | 5.0 | √ |
x
| 10.0 | √ | x |"
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| key | 5.0 | √ | √ | 10.0 | √ | x |
\n
| ref | 5.0 | √ | √ | 10.0 | √ | x |
\n
| is | 5.0 | √ |
3.99
| 10.0 | √ | x |"
},
"render_function"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| h() | 5.0 | x |
x
| 10.0 | x | x |
\n
| resolveComponent() | 5.0 | x | √ | 10.0 | x | x |
\n
| resolveDirective() | 5.0 | x | x | 10.0 | x | x |
\n
| withDirectives() | 5.0 | x | √ | 10.0 | x | x |"
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| h() | 5.0 | x |
3.99
| 10.0 | x | x |
\n
| resolveComponent() | 5.0 | x | √ | 10.0 | x | x |
\n
| resolveDirective() | 5.0 | x | x | 10.0 | x | x |
\n
| withDirectives() | 5.0 | x | √ | 10.0 | x | x |"
}
}
\ No newline at end of file
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录