diff --git a/constant/transportType.js b/constant/transportType.js index 7effc3f..acfa808 100644 --- a/constant/transportType.js +++ b/constant/transportType.js @@ -1,7 +1,13 @@ export const transportType = { - TRANSPORT_BLUETOOTH: 0, - TRANSPORT_OFFLINE: 10, - TRANSPORT_GATEWAY: 20, - TRANSPORT_WIFI: 30, - TRANSPORT_TENCENT_YUN: 40 + TRANSPORT_BLUETOOTH: 10, + TRANSPORT_OFFLINE: 20, + TRANSPORT_GATEWAY: 30, + TRANSPORT_WIFI: 40, + TRANSPORT_TENCENT_YUN: 50, + TRANSPORT_WIFI_PRIORITY: 60, + TRANSPORT_BLUETOOTH_PRIORITY: 70 +} + +export const model = { + TENCENT_YUN_LOCK: 'XB007' } diff --git a/pages/addDevice/addLockGuid.vue b/pages/addDevice/addLockGuid.vue index b3accef..7c85489 100644 --- a/pages/addDevice/addLockGuid.vue +++ b/pages/addDevice/addLockGuid.vue @@ -12,22 +12,12 @@