|
@@ -98,7 +98,7 @@ export default {
|
|
|
};
|
|
|
console.log(shareConfirmParam, "shareConfirmParam");
|
|
|
this.$http
|
|
|
- .post("wap/share/Confirm", shareConfirmParam, {
|
|
|
+ .post("wap/share/urlShareConfirm", shareConfirmParam, {
|
|
|
header: {
|
|
|
"Content-Type": "application/json;charset=UTF-8",
|
|
|
},
|
|
@@ -110,9 +110,11 @@ export default {
|
|
|
icon: "success",
|
|
|
duration: 1500,
|
|
|
});
|
|
|
- uni.reLaunch({
|
|
|
- url: "/pages/home/home",
|
|
|
- });
|
|
|
+ setTimeout(() => {
|
|
|
+ uni.reLaunch({
|
|
|
+ url: "/pages/devices/devices",
|
|
|
+ });
|
|
|
+ }, 1500);
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: res.data.message,
|
|
@@ -131,7 +133,7 @@ export default {
|
|
|
shareId: this.shareId,
|
|
|
};
|
|
|
this.$http
|
|
|
- .post("wap/share/Confirm", shareConfirmParam, {
|
|
|
+ .post("wap/share/urlShareConfirm", shareConfirmParam, {
|
|
|
header: {
|
|
|
"Content-Type": "application/json;charset=UTF-8",
|
|
|
},
|
|
@@ -143,9 +145,11 @@ export default {
|
|
|
icon: "success",
|
|
|
duration: 1500,
|
|
|
});
|
|
|
- uni.reLaunch({
|
|
|
- url: "/pages/home/home",
|
|
|
- });
|
|
|
+ setTimeout(() => {
|
|
|
+ uni.reLaunch({
|
|
|
+ url: "/pages/devices/devices",
|
|
|
+ });
|
|
|
+ }, 1500);
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: res.data.message,
|