File tree 2 files changed +4
-1
lines changed
src/tools/temperature-converter
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,9 @@ declare module '@vue/runtime-core' {
254
254
NH1 : typeof import ( 'naive-ui' ) [ 'NH1' ]
255
255
NH3 : typeof import ( 'naive-ui' ) [ 'NH3' ]
256
256
NIcon : typeof import ( 'naive-ui' ) [ 'NIcon' ]
257
+ NInputGroup : typeof import ( 'naive-ui' ) [ 'NInputGroup' ]
258
+ NInputGroupLabel : typeof import ( 'naive-ui' ) [ 'NInputGroupLabel' ]
259
+ NInputNumber : typeof import ( 'naive-ui' ) [ 'NInputNumber' ]
257
260
NLayout : typeof import ( 'naive-ui' ) [ 'NLayout' ]
258
261
NLayoutSider : typeof import ( 'naive-ui' ) [ 'NLayoutSider' ]
259
262
NMenu : typeof import ( 'naive-ui' ) [ 'NMenu' ]
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ function update(key: TemperatureScale) {
94
94
_ .chain (units )
95
95
.omit (key )
96
96
.forEach (({ fromKelvin }, index ) => {
97
- units [index ].ref = Math . floor (( fromKelvin (kelvins ) ?? 0 ) * 100 ) / 100 ;
97
+ units [index ].ref = fromKelvin (kelvins ) ?? 0 ;
98
98
})
99
99
.value ();
100
100
}
You can’t perform that action at this time.
0 commit comments