From 1dbffee8e9c548b62b76ab79d844bbe1e66b5fdb Mon Sep 17 00:00:00 2001 From: qiang Date: Fri, 25 Nov 2022 15:27:56 +0800 Subject: [PATCH] docs: Vue2 component is --- docs/component/vue-component.md | 2 +- docs/tutorial/vue-api.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/component/vue-component.md b/docs/component/vue-component.md index 19c418e02..9b6b2904f 100644 --- a/docs/component/vue-component.md +++ b/docs/component/vue-component.md @@ -8,7 +8,7 @@ |App|H5 |微信小程序 |支付宝小程序 |百度小程序 |字节跳动小程序、飞书小程序 |QQ小程序 |快应用 |360小程序 |快手小程序|京东小程序| |:-:|:-:|:-: |:-: |:-: |:-: |:-: |:-: |:-: |:-: |:-: | -|√ |√ |x |x |x |x |x |x |x |x |x | +|√ (Vue2 需传入 String 类型) |√ |x |x |x |x |x |x |x |x |x | diff --git a/docs/tutorial/vue-api.md b/docs/tutorial/vue-api.md index ad394d16b..aa82aa1d0 100644 --- a/docs/tutorial/vue-api.md +++ b/docs/tutorial/vue-api.md @@ -162,7 +162,7 @@ | -- | -- | -- |-- |-- | -- | |key | 主要用在 Vue 的虚拟 DOM 算法,在新旧 nodes 对比时辨识 VNodes [详情](https://v2.cn.vuejs.org/v2/api/#key) |√ | √ | √ | | |ref | ref 被用来给元素或子组件注册引用信息 [详情](https://v2.cn.vuejs.org/v2/api/#ref) |√ | √ | √ |非 H5 平台只能获取 vue 组件实例不能获取到内置组件实例| -|is | 用于动态组件且基于 DOM 内模板的限制来工作 [详情](https://v2.cn.vuejs.org/v2/api/#is) |√ | √ | x | - | +|is | 用于动态组件且基于 DOM 内模板的限制来工作 [详情](https://v2.cn.vuejs.org/v2/api/#is) |√ | √ (需传入 String 类型) | x | - | -- GitLab