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" # VUE_APP_BASE_URL = "http://8.131.244.76:81"
\ No newline at end of file \ No newline at end of file
...@@ -7,13 +7,13 @@ import "minirefresh/dist/debug/minirefresh.css"; ...@@ -7,13 +7,13 @@ import "minirefresh/dist/debug/minirefresh.css";
import "amfe-flexible"; import "amfe-flexible";
import "@/plugins/vant-ui.js"; import "@/plugins/vant-ui.js";
import "@/plugins/echarts-plugins.js"; import "@/plugins/echarts-plugins.js";
import Vconsole from "vconsole"; // import Vconsole from "vconsole";
import bridgeToAppFun from "@/utils/bridgeToAppFun"; import bridgeToAppFun from "@/utils/bridgeToAppFun";
Vue.prototype.$bridgeToAppFun = new bridgeToAppFun(); Vue.prototype.$bridgeToAppFun = new bridgeToAppFun();
/*生产环境请注释掉 */ /*生产环境请注释掉 */
Vue.prototype.$vConsole = new Vconsole(); // Vue.prototype.$vConsole = new Vconsole();
Vue.use(MiniRefreshTools); Vue.use(MiniRefreshTools);
Vue.config.productionTip = false; Vue.config.productionTip = false;
......
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
this.$router.push({ name: urlName }); this.$router.push({ name: urlName });
}, },
getstatus() { getstatus() {
const userId = 13933770003; const userId = JSON.parse(localStorage.getItem("user")).userId;
const _this = this; const _this = this;
getForestStatus(userId) getForestStatus(userId)
.then(res => { .then(res => {
......
...@@ -4,7 +4,7 @@ const name = "西田森App"; ...@@ -4,7 +4,7 @@ const name = "西田森App";
module.exports = { module.exports = {
publicPath: "/front", publicPath: "/front",
// outputDir: "front", outputDir: "front",
devServer: { devServer: {
proxy: { proxy: {
'/shop-mall': { '/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