Skip to content

Commit 68b64c4

Browse files
committed
1 parent 4988121 commit 68b64c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/guide/component-attrs.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
app.component('date-picker', {
1313
template: `
1414
<div class="date-picker">
15-
<input type="datetime" />
15+
<input type="datetime-local" />
1616
</div>
1717
`
1818
})
@@ -26,7 +26,7 @@ app.component('date-picker', {
2626

2727
<!-- 実際には以下のような形で描画されます -->
2828
<div class="date-picker" data-status="activated">
29-
<input type="datetime" />
29+
<input type="datetime-local" />
3030
</div>
3131
```
3232

@@ -91,7 +91,7 @@ app.component('date-picker', {
9191
inheritAttrs: false,
9292
template: `
9393
<div class="date-picker">
94-
<input type="datetime" v-bind="$attrs" />
94+
<input type="datetime-local" v-bind="$attrs" />
9595
</div>
9696
`
9797
})
@@ -105,7 +105,7 @@ app.component('date-picker', {
105105

106106
<!-- Rendered date-picker component -->
107107
<div class="date-picker">
108-
<input type="datetime" data-status="activated" />
108+
<input type="datetime-local" data-status="activated" />
109109
</div>
110110
```
111111

0 commit comments

Comments
 (0)