|
@@ -518,21 +518,7 @@
|
|
|
|
|
|
}).then((res) => {
|
|
|
uni.hideLoading();
|
|
|
- if (process.env.NODE_ENV === "development") {
|
|
|
- var nowscan=res.data.floorlockInfoList;
|
|
|
- if(nowscan&&nowscan.length){
|
|
|
- this.nowscan=nowscan[0];
|
|
|
- this.bindInfo.lockNo=nowscan[0].lockNo
|
|
|
- this.bindInfo.type=nowscan[0].type
|
|
|
-
|
|
|
- this.bindInfo.lockName="智泊地锁"
|
|
|
- }
|
|
|
-
|
|
|
- uni.showToast({
|
|
|
- title: "扫码成功",
|
|
|
- icon: "none"
|
|
|
- })
|
|
|
- }
|
|
|
+
|
|
|
if (res.data.openBind) {
|
|
|
|
|
|
var nowscan=res.data.floorlockInfoList;
|