From 19a426ab7c7f1ad1a39d6b5030c2591012947783 Mon Sep 17 00:00:00 2001 From: heappynd Date: Tue, 10 Sep 2024 23:06:29 +0800 Subject: [PATCH 1/2] docs: translate composition-api-helpers --- src/api/composition-api-helpers.md | 53 +++++++++++++++--------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/src/api/composition-api-helpers.md b/src/api/composition-api-helpers.md index 6d127d59c..4d4f0ac0b 100644 --- a/src/api/composition-api-helpers.md +++ b/src/api/composition-api-helpers.md @@ -1,11 +1,10 @@ - -# Composition API: Helpers {#composition-api-helpers} +# 组合式 API: 辅助 {#composition-api-helpers} ## useAttrs() {#useattrs} -Returns the `attrs` object from the [Setup Context](/api/composition-api-setup#setup-context), which includes the [fallthrough attributes](/guide/components/attrs#fallthrough-attributes) of the current component. This is intended to be used in `