From 7a91728e290e4a93ec7d12defd7ce4cd7b31b7f3 Mon Sep 17 00:00:00 2001 From: timongh <46739861+timongh@users.noreply.github.com> Date: Tue, 7 Feb 2023 00:47:26 +0800 Subject: [PATCH] Remove `$listeners` and the redundant `v-bind="$attrs"` --- .../style/custom-navbar/CustomNavbarLink.vue | 2 +- .../home-redesign/fresh/VideoCardWrapper.vue | 1 + .../components/utils/dev-client/Widget.vue | 2 +- src/ui/AsyncButton.vue | 34 +++++++------------ src/ui/CheckBox.vue | 1 - src/ui/DefaultWidget.vue | 2 +- src/ui/DpiImage.vue | 1 - src/ui/RadioButton.vue | 1 - src/ui/TextArea.vue | 3 +- src/ui/TextBox.vue | 3 +- src/ui/VButton.vue | 13 +++++-- src/ui/VPopup.vue | 6 +--- src/ui/icon/VIcon.vue | 8 +---- src/ui/text-control.ts | 13 +++---- 14 files changed, 38 insertions(+), 52 deletions(-) diff --git a/registry/lib/components/style/custom-navbar/CustomNavbarLink.vue b/registry/lib/components/style/custom-navbar/CustomNavbarLink.vue index 2aa39a3b6..a2d461d63 100644 --- a/registry/lib/components/style/custom-navbar/CustomNavbarLink.vue +++ b/registry/lib/components/style/custom-navbar/CustomNavbarLink.vue @@ -1,5 +1,5 @@ diff --git a/registry/lib/components/style/home-redesign/fresh/VideoCardWrapper.vue b/registry/lib/components/style/home-redesign/fresh/VideoCardWrapper.vue index 603a97663..8860eb69f 100644 --- a/registry/lib/components/style/home-redesign/fresh/VideoCardWrapper.vue +++ b/registry/lib/components/style/home-redesign/fresh/VideoCardWrapper.vue @@ -11,6 +11,7 @@ export default defineComponent({ components: { VideoCard, }, + inheritAttrs: false, })