|
|
@@ -94,7 +94,7 @@ export default {
|
|
|
// devId: this.devInfo.devId,
|
|
|
sharedUserId: uni.getStorageSync("userId"),
|
|
|
state: 1,
|
|
|
- sharedPhone: this.sharePhone,
|
|
|
+ sharedPhone: uni.getStorageSync("phone"),
|
|
|
shareId: this.shareId,
|
|
|
};
|
|
|
console.log(shareConfirmParam, "shareConfirmParam");
|
|
|
@@ -107,13 +107,13 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (res.data.code == 200) {
|
|
|
uni.showToast({
|
|
|
- title: "授权成功",
|
|
|
+ title: "已接受改设备",
|
|
|
icon: "success",
|
|
|
duration: 1500,
|
|
|
});
|
|
|
setTimeout(() => {
|
|
|
uni.reLaunch({
|
|
|
- url: "/pages/devices/devices",
|
|
|
+ url: "/pages/home/home",
|
|
|
});
|
|
|
}, 1500);
|
|
|
} else {
|
|
|
@@ -148,7 +148,7 @@ export default {
|
|
|
});
|
|
|
setTimeout(() => {
|
|
|
uni.reLaunch({
|
|
|
- url: "/pages/devices/devices",
|
|
|
+ url: "/pages/home/home",
|
|
|
});
|
|
|
}, 1500);
|
|
|
} else {
|