CN-64 feat: 搜索框联动,其他一些细节调整
This commit is contained in:
@@ -75,7 +75,7 @@ export default function unitConvert (value, unitType, sourceUnit, targetUnit, do
|
||||
return ['-', '']
|
||||
}
|
||||
}
|
||||
if (!Number(value) && Number(value) !== 0) {
|
||||
if (!value && value !== 0) {
|
||||
return ['-', '']
|
||||
} else {
|
||||
switch (unitType) {
|
||||
|
||||
Reference in New Issue
Block a user