|
@ -344,9 +344,7 @@ export function getInspectReasonList(value) { |
|
|
export function getSwitchInfoByCode(code) { |
|
|
export function getSwitchInfoByCode(code) { |
|
|
var isCheck = false |
|
|
var isCheck = false |
|
|
var resultInfo = "" |
|
|
var resultInfo = "" |
|
|
if (switchList.length == 0) { |
|
|
|
|
|
switchList = uni.getStorageSync("switch") |
|
|
switchList = uni.getStorageSync("switch") |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for (let item of switchList) { |
|
|
for (let item of switchList) { |
|
|
if (item.code == code) { |
|
|
if (item.code == code) { |
|
|