Browse Source

chore: 更新依赖

kailong321200875 1 year ago
parent
commit
82245ee6d0
2 changed files with 6 additions and 2 deletions
  1. 1 1
      .husky/pre-commit
  2. 5 1
      src/components/Descriptions/src/Descriptions.vue

+ 1 - 1
.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

+ 5 - 1
src/components/Descriptions/src/Descriptions.vue

@@ -101,7 +101,7 @@ export default defineComponent({
           ) : null}
 
           <ElCollapseTransition>
-            <div v-show={unref(show)} class={[`${prefixCls}-content`, 'p-10px']}>
+            <div v-show={unref(show)} class={[`${prefixCls}-content`]}>
               <ElDescriptions {...unref(getBindValue)}>
                 {{
                   extra: () => (slots['extra'] ? slots['extra']() : props.extra),
@@ -134,6 +134,10 @@ export default defineComponent({
 <style lang="less" scoped>
 @prefix-cls: ~'@{namespace}-descriptions';
 
+:deep(.@{elNamespace}-descriptions__header) {
+  display: none !important;
+}
+
 .@{prefix-cls}-header {
   &__title {
     &::after {