diff --git a/config/app.js b/config/app.js index 0d6283a..5657b7c 100644 --- a/config/app.js +++ b/config/app.js @@ -2,10 +2,10 @@ let BASE_URL let WSS_URL import store from "@/store/user.js" // 环境 -let env = "dev" +// let env = "dev" // let env = "prod" // let env = "release"; -// let env = "local"; +let env = "local"; switch (env) { case 'dev': diff --git a/pages/afterSales/afterSales.vue b/pages/afterSales/afterSales.vue index 447ded8..48acd24 100644 --- a/pages/afterSales/afterSales.vue +++ b/pages/afterSales/afterSales.vue @@ -225,7 +225,10 @@ if (res.code == 1) { uni.$u.toast(res.msg); uni.$u.sleep(1500).then(res => { - uni.navigateBack(); + // uni.navigateBack(); + uni.redirectTo({ + url: '/pagesOrder/order/order' + }) }) } else { uni.$u.toast(res.msg); diff --git a/pages/index/index.vue b/pages/index/index.vue index c1d8a34..9ac8b1b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -23,12 +23,16 @@