【代码评审】IoT:物模型

This commit is contained in:
YunaiV committed 2025-02-22 18:01:27 +08:00
1 parent 67fb5ecf3a
commit dd1eb5de6d
2 files changed
+3 -5

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import {toNumber} from 'lodash-es'
import { toNumber } from 'lodash-es'
/**
*
@@ -459,7 +459,7 @@ export function jsonParse(str: string) {
try {
return JSON.parse(str)
} catch (e) {
// console.error(`str[${str}] 不是一个 JSON 字符串`)
console.log(`str[${str}] 不是一个 JSON 字符串`)
return ''
}
}