|
@@ -32,7 +32,19 @@ Page({
|
|
|
},
|
|
|
// 取消登录
|
|
|
cancelLoginn() {
|
|
|
- router.pop();
|
|
|
+ let param = {
|
|
|
+ qrCodeId: this.data.qrCodeId,
|
|
|
+ macAddress: this.data.macAddress,
|
|
|
+ status: 0, // 0-未扫码 1-已扫描 2-已确认 3-已经失效
|
|
|
+ projectId: this.data.projectId,
|
|
|
+ spaceId: this.data.spaceId
|
|
|
+ }
|
|
|
+ comfirmCodeLogin(param).then(res => {
|
|
|
+ // if (res.result === 'success') {
|
|
|
+ // // Toast.success("已确认");
|
|
|
+ // }
|
|
|
+ router.pop();
|
|
|
+ })
|
|
|
},
|
|
|
/**
|
|
|
* 生命周期函数--监听页面加载
|