mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-07 14:57:12 -04:00
Merge e2fcb40753
into 07eea0f484
This commit is contained in:
commit
78ecc90659
2 changed files with 4 additions and 1 deletions
3
components.d.ts
vendored
3
components.d.ts
vendored
|
@ -138,6 +138,9 @@ declare module '@vue/runtime-core' {
|
|||
NH1: typeof import('naive-ui')['NH1']
|
||||
NH3: typeof import('naive-ui')['NH3']
|
||||
NIcon: typeof import('naive-ui')['NIcon']
|
||||
NInputGroup: typeof import('naive-ui')['NInputGroup']
|
||||
NInputGroupLabel: typeof import('naive-ui')['NInputGroupLabel']
|
||||
NInputNumber: typeof import('naive-ui')['NInputNumber']
|
||||
NLayout: typeof import('naive-ui')['NLayout']
|
||||
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
|
||||
NMenu: typeof import('naive-ui')['NMenu']
|
||||
|
|
|
@ -91,7 +91,7 @@ function update(key: TemperatureScale) {
|
|||
_.chain(units)
|
||||
.omit(key)
|
||||
.forEach(({ fromKelvin }, index) => {
|
||||
units[index].ref = Math.floor((fromKelvin(kelvins) ?? 0) * 100) / 100;
|
||||
units[index].ref = fromKelvin(kelvins) ?? 0;
|
||||
})
|
||||
.value();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue