【代码评审】IoT:物模型

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

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 ''
}
}