From c4611d4428529570dd983656d36573f3d4376ac6 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Sun, 09 Oct 2022 17:31:52 +0800
Subject: [PATCH] 首页圈地关闭后数据残留

---
 vue.config.js                |    7 ++++---
 src/views/wel/land.vue       |    3 ++-
 src/page/login/userlogin.vue |    2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/page/login/userlogin.vue b/src/page/login/userlogin.vue
index d7bfa9e..c8de5e0 100644
--- a/src/page/login/userlogin.vue
+++ b/src/page/login/userlogin.vue
@@ -179,7 +179,7 @@
       }
     },
     mounted() {
-      
+
     },
     watch: {
       'loginForm.deptId'() {
diff --git a/src/views/wel/land.vue b/src/views/wel/land.vue
index 48fd992..9af8b14 100644
--- a/src/views/wel/land.vue
+++ b/src/views/wel/land.vue
@@ -212,7 +212,8 @@
       this.form.landArea = 0
       this.visible = true;
       this.form.farmId = this.$farmId;
-
+      this.form.landName = ""
+      this.form.landType = ""
       getDetail(this.form.farmId).then(res=>{
         this.farmInfo = res.data.data
         this.url = this.drawMapUrlBase + "/base?type=1&lng=112&lat=24&status=manage&longitude="+this.farmInfo.longitude+"&latitude="+this.farmInfo.latitude;
diff --git a/vue.config.js b/vue.config.js
index d37c94c..ec924d4 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -4,7 +4,8 @@
 
 module.exports = {
     //路径前缀
-    publicPath: "/",
+    publicPath:"/zhny-web",
+    // publicPath: "/",
     lintOnSave: true,
     productionSourceMap: false,
     chainWebpack: (config) => {
@@ -45,9 +46,9 @@
         proxy: {
             '/api': {
                 //本地服务接口地址
-                target: 'http://192.168.0.207:89',
+                target: 'http://127.0.0.1:89',
                 //远程演示服务地址,可用于直接启动项目
-                // target: 'http://182.106.212.58:8013/api',
+                // target: 'http://182.106.212.58:8020/api',
                 ws: true,
                 pathRewrite: {
                     '^/api': '/'

--
Gitblit v1.9.3