| | |
| | | </view> |
| | | </view> |
| | | <view style="color: #FFF;position: fixed;bottom: 10px;left: 10px;" v-show="timeOut"> |
| | | 连接超时 |
| | | 连接超时: {{times}} s |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | barcode: "" |
| | | }, |
| | | swiperList: [], |
| | | timeOut: false |
| | | timeOut: false, |
| | | times: 0 |
| | | } |
| | | }, |
| | | onShow() { |
| | |
| | | data: {ledId:that.baseLedId}, |
| | | success(result) { |
| | | that.timeOut = false |
| | | that.times = 0 |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | if (that.infoType == 2 || that.infoType == 3) { |
| | |
| | | }, |
| | | fail(err) { |
| | | that.timeOut = true |
| | | that.times = that.times+3 |
| | | that.infoType = 0 |
| | | } |
| | | }) |
| | |
| | | method:"GET", |
| | | success(result) { |
| | | that.timeOut = false |
| | | that.times = 0 |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | var errorInfo = res.data |