mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
fix(typography/header): static class will be shadowed
This commit is contained in:
parent
361f0cbb3a
commit
37772eb3af
@ -23,8 +23,8 @@ export default level => ({
|
||||
const theme = getTheme(context.parent)
|
||||
const defaultSlot = context.slots.default || (context.scopedSlots.default && context.scopedSlots.default())
|
||||
return h(`h${level}`, {
|
||||
staticClass: `n-h${level}`,
|
||||
class: {
|
||||
[`n-h${level}`]: true,
|
||||
[`n-${theme}-theme`]: theme,
|
||||
[`n-h${level}--${props.type}-type`]: props.type,
|
||||
[`n-h${level}--prefix-bar`]: props.prefix,
|
||||
|
Loading…
Reference in New Issue
Block a user