未验证 提交 b4cabb0e 编写于 作者: Anne_LXM's avatar Anne_LXM 提交者: Gitee

update docs/vue3-components.md.

update vue3
上级 37e10194
......@@ -581,7 +581,7 @@
<!-- 我是子组件date-picker -->
<template>
<view class="date-picker">
<input type="datetime" />
<input type="datetime-local" />
</view>
</template>
```
......@@ -595,7 +595,7 @@
<!-- 渲染 date-picker 组件 -->
<div class="date-picker" data-status="activated">
<input type="datetime" />
<input type="datetime-local" />
</div>
```
......@@ -667,7 +667,7 @@
```html
<template>
<view class="date-picker">
<input type="datetime" v-bind="$attrs" />
<input type="datetime-local" v-bind="$attrs" />
</view>
</template>
<script>
......@@ -685,7 +685,7 @@
<!-- 渲染 date-picker 组件 -->
<view class="date-picker">
<input type="datetime" data-status="activated" />
<input type="datetime-local" data-status="activated" />
</view>
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册