From 627c08d10c024d87a0f52a4761e5c885f157d2f5 Mon Sep 17 00:00:00 2001 From: Yukon123 <82578034+Yukon123@users.noreply.github.com> Date: Mon, 16 Aug 2021 11:53:20 +0800 Subject: [PATCH] Update component-attrs.md `data-status` is a attribute rather than property. It should be consistent with the description on line 100:`With this new configuration, our `data-status` attribute will be applied to our `input` element!` --- src/guide/component-attrs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/component-attrs.md b/src/guide/component-attrs.md index 3f916a04c6..0b6b9746c0 100644 --- a/src/guide/component-attrs.md +++ b/src/guide/component-attrs.md @@ -18,7 +18,7 @@ app.component('date-picker', { }) ``` -In the event we need to define the status of the date-picker component via a `data-status` property, it will be applied to the root node (i.e., `div.date-picker`). +In the event we need to define the status of the date-picker component via a `data-status` attribute, it will be applied to the root node (i.e., `div.date-picker`). ```html