fix(frontend): get device management protocol
This commit is contained in:
parent
51bc89dfb7
commit
a43e62c96b
|
|
@ -172,7 +172,8 @@ const Page = () => {
|
|||
}
|
||||
|
||||
const getDeviceProtocol = (order) => {
|
||||
if (order.Cwmp != null) {
|
||||
console.log("order:", order)
|
||||
if (order.Cwmp == 2) {
|
||||
return "cwmp"
|
||||
} else {
|
||||
return "usp"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user