Browse Source

开关问题

lijuncheng0816
wangyufei 4 months ago
parent
commit
90599b48a0
  1. 2
      src/common/basic.js

2
src/common/basic.js

@ -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) {

Loading…
Cancel
Save