mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-01 13:36:55 +08:00
Fix the label slot of the & cannot display
This commit is contained in:
parent
7d4fc42e02
commit
51c5c45721
@ -1,4 +1,8 @@
|
||||
# CHANGELOG
|
||||
## 1.0.13 (2020-05-14)
|
||||
### Fixes
|
||||
- Fix the label slot of the `n-form-item-col` & `n-form-item-row` cannot display.
|
||||
|
||||
## 1.0.12 (2020-04-30)
|
||||
### Fixes
|
||||
- Fix the problem that some CSS length props are badly formated.
|
||||
|
@ -1,4 +1,8 @@
|
||||
# CHANGELOG
|
||||
## 1.0.13 (2020-05-14)
|
||||
### Fixes
|
||||
- 修正 `n-form-item-col` & `n-form-item-row`的 label slot 不能显示的问题.
|
||||
|
||||
## 1.0.12 (2020-04-30)
|
||||
### Fixes
|
||||
- 修正了一些 CSS 长度属性格式化错误的问题
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.13",
|
||||
"description": "A Vue UI Framework. Caring About Styles, Themed, Batteries Included.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -12,12 +12,12 @@
|
||||
}"
|
||||
>
|
||||
<label
|
||||
v-if="label || $slots.label"
|
||||
v-if="label || $scopedSlots.label"
|
||||
:class="`n-form-item-label`"
|
||||
:style="syntheticLabelStyle"
|
||||
>
|
||||
<template
|
||||
v-if="$slots.label"
|
||||
v-if="$scopedSlots.label"
|
||||
><slot
|
||||
name="label"
|
||||
/></template>
|
||||
|
Loading…
Reference in New Issue
Block a user