From 82245ee6d0d5b11669dbd35ea73947c556e0893b Mon Sep 17 00:00:00 2001 From: kailong321200875 <321200875@qq.com> Date: Sun, 23 Jul 2023 20:22:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/pre-commit | 2 +- src/components/Descriptions/src/Descriptions.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 9a37df9..a6a2318 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -4,5 +4,5 @@ [ -n "$CI" ] && exit 0 # Format and submit code according to lintstagedrc.js configuration -# npm run ts:check +npm run ts:check npm run lint:lint-staged diff --git a/src/components/Descriptions/src/Descriptions.vue b/src/components/Descriptions/src/Descriptions.vue index effaca7..cf1e168 100644 --- a/src/components/Descriptions/src/Descriptions.vue +++ b/src/components/Descriptions/src/Descriptions.vue @@ -101,7 +101,7 @@ export default defineComponent({ ) : null} -
+
{{ extra: () => (slots['extra'] ? slots['extra']() : props.extra), @@ -134,6 +134,10 @@ export default defineComponent({