tusen-ai / naive-ui

A Vue 3 Component Library. Fairly Complete. Theme Customizable. Uses TypeScript. Fast.
https://www.naiveui.com
MIT License
16.02k stars 1.67k forks source link

n-card 的 content-class 会被默认 class 覆盖。 #6381

Open lsong98sh opened 1 week ago

lsong98sh commented 1 week ago

Describe the bug

n-card 的 content-class 会被默认 class 覆盖。 建议 content-class 放在 默认class后面

Steps to reproduce

<n-tabs content-class="p-0"....>

Link to minimal reproduction

暂时没有

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz
    Memory: 5.95 GB / 15.92 GB
  Binaries:
    Node: 18.20.0 - D:\DevTools\HBuilderX\plugins\node\node.EXE
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.5.0 - D:\DevTools\HBuilderX\plugins\npm\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355

Used Package Manager

npm

Validations

jahnli commented 1 week ago

提供的复现 最小可复现的示例