Commit ff748760 authored by leiqingsong's avatar leiqingsong

森林状态

parent 8a534b6d
# 生产环境 部署生产环境放开这个
# 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;
......
......@@ -114,7 +114,7 @@ export default {
this.$router.push({ name: urlName });
},
getstatus() {
const userId = 13933770003;
const userId = JSON.parse(localStorage.getItem("user")).userId;
const _this = this;
getForestStatus(userId)
.then(res => {
......
......@@ -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