Commit c7fe0a9a authored by leiqingsong's avatar leiqingsong

部署测试环境

parent 9f60cc05
# 生产环境 部署生产环境放开这个
VUE_APP_BASE_URL = "http://app.xitiansen.com"
# VUE_APP_BASE_URL = "http://app.xitiansen.com"
# 测试环境 部署测试环境放开这个
# VUE_APP_BASE_URL = "http://8.131.244.76:81"
\ No newline at end of file
VUE_APP_BASE_URL = "http://8.131.244.76:81"
\ No newline at end of file
......@@ -7,13 +7,13 @@ import "minirefresh/dist/debug/minirefresh.css";
import "amfe-flexible";
import "@/plugins/vant-ui.js";
import "@/plugins/echarts-plugins.js";
// import Vconsole from "vconsole";
import Vconsole from "vconsole";
import bridgeToAppFun from "@/utils/bridgeToAppFun";
Vue.prototype.$bridgeToAppFun = new bridgeToAppFun();
/*生产环境请注释掉 */
// Vue.prototype.$vConsole = new Vconsole();
Vue.prototype.$vConsole = new Vconsole();
Vue.use(MiniRefreshTools);
Vue.config.productionTip = false;
......
......@@ -92,7 +92,6 @@ export default {
this.canScroll = true;
},
openUserInfo(item) {
console.log(123);
this.canScroll = false;
this.userInfoDialog = true;
this.currentUser = item;
......
......@@ -35,7 +35,9 @@ export default {
};
},
created() {
this.getCustomerData();
setTimeout(() => {
this.getCustomerData();
}, 200);
},
mounted() {},
methods: {
......
......@@ -99,8 +99,10 @@ export default {
]
};
},
created() {
this.getstatus();
created() {
setTimeout(() => {
this.getstatus();
}, 200);
},
methods: {
handlerBack() {
......
......@@ -49,7 +49,9 @@ export default {
};
},
mounted() {
this.getWalletInfo();
setTimeout(() => {
this.getWalletInfo();
});
},
methods: {
// 跳转到可提现界面
......
......@@ -28,7 +28,9 @@ export default {
};
},
mounted() {
this.inviteCode();
setTimeout(() => {
this.inviteCode();
}, 200);
},
methods: {
onSave() {
......
......@@ -82,13 +82,13 @@ export default {
getProgressPrizes().then(res => {
if (res.code === 0) {
_this.growthTotal = res.data.growthTotal;
_this.prizeVos = res.data.prizeVos.map(item => {
const temp = item;
temp.userId =
item.userId.substring(0, 3) + "****" + item.userId.substring(7);
return temp;
});
// _this.prizeVos = res.data.prizeVos;
_this.prizeVos = res.data.prizeVos.map(item => {
const temp = item;
temp.userId =
item.userId.substring(0, 3) + "****" + item.userId.substring(7);
return temp;
});
// _this.prizeVos = res.data.prizeVos;
} else {
_this.growthTotal = 0;
_this.prizeVos = [];
......
......@@ -110,7 +110,9 @@ export default {
};
},
created() {
this.getData();
setTimeout(() => {
this.getData();
}, 200);
},
methods: {
handlerBack() {
......
......@@ -4,7 +4,7 @@ const name = "西田森App";
module.exports = {
publicPath: "/front",
outputDir: "front",
// outputDir: "front",
devServer: {
proxy: {
'/shop-mall': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment