mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-21 21:44:40 +03:00
1 parent
1e17818975
commit
9dd752f686
2 files changed
+4
-1
No files matched your search
Vendored
+3
@@ -254,6 +254,9 @@ declare module '@vue/runtime-core' {
|
|||||||
NH1: typeof import('naive-ui')['NH1']
|
NH1: typeof import('naive-ui')['NH1']
|
||||||
NH3: typeof import('naive-ui')['NH3']
|
NH3: typeof import('naive-ui')['NH3']
|
||||||
NIcon: typeof import('naive-ui')['NIcon']
|
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']
|
NLayout: typeof import('naive-ui')['NLayout']
|
||||||
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
|
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
|
||||||
NMenu: typeof import('naive-ui')['NMenu']
|
NMenu: typeof import('naive-ui')['NMenu']
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ function update(key: TemperatureScale) {
|
|||||||
_.chain(units)
|
_.chain(units)
|
||||||
.omit(key)
|
.omit(key)
|
||||||
.forEach(({ fromKelvin }, index) => {
|
.forEach(({ fromKelvin }, index) => {
|
||||||
units[index].ref = Math.floor((fromKelvin(kelvins) ?? 0) * 100) / 100;
|
units[index].ref = fromKelvin(kelvins) ?? 0;
|
||||||
})
|
})
|
||||||
.value();
|
.value();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user