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