File tree 3 files changed +19
-3
lines changed
3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## NEXT_VERSION
4
+
5
+ ` NEXT_VERSION `
6
+
7
+ ### Fixes
8
+
9
+ - Fix ` n-upload ` default slot non-function value encountered warning.
10
+
3
11
## 2.41.0
4
12
5
13
` 2025-01-05 `
Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## NEXT_VERSION
4
+
5
+ ` NEXT_VERSION `
6
+
7
+ ### Fixes
8
+
9
+ - 修复 ` n-upload ` 默认插槽非函数的警告问题
10
+
3
11
## 2.41.0
4
12
5
13
` 2025-01-05 `
2957
2965
### Fixes
2958
2966
2959
2967
- 修复 ` n-date-picker ` ` n-provider ` 传递 ` date-locale ` 属性无效,关闭 [ #250 ] ( https://github.com/tusen-ai/naive-ui/issues/250 )
2960
- - 修复 ` n-input ` clear button placeholder prevent clicking on actual component [ #288 ] ( https://github.com/tusen-ai/naive-ui/issues/288 )
2968
+ - Fix ` n-input ` clear button placeholder prevent clicking on actual component [ #288 ] ( https://github.com/tusen-ai/naive-ui/issues/288 )
2961
2969
- 修复 ` n-carousel ` 点击当前页对应的控制按钮时,组件显示异常
2962
2970
- 修复 ` n-menu ` 折叠时 ` render-label ` 对于 tooltip 不生效
2963
2971
- 修复 ` n-dropdown ` 不能在选项中渲染 ` n-popover `
Original file line number Diff line number Diff line change @@ -265,11 +265,11 @@ export default defineComponent({
265
265
renderIcon ( file )
266
266
) : isImageFile ( file ) ? (
267
267
< NBaseIcon clsPrefix = { clsPrefix } >
268
- { { default : renderImageIcon } }
268
+ { { default : ( ) => renderImageIcon } }
269
269
</ NBaseIcon >
270
270
) : (
271
271
< NBaseIcon clsPrefix = { clsPrefix } >
272
- { { default : renderDocumentIcon } }
272
+ { { default : ( ) => renderDocumentIcon } }
273
273
</ NBaseIcon >
274
274
) }
275
275
</ span >
You can’t perform that action at this time.
0 commit comments