wanghongkai пре 6 година
родитељ
комит
879a7285a8
2 измењених фајлова са 9 додато и 1 уклоњено
  1. 7 1
      vlns-backend/pom.xml
  2. 2 0
      vlns-frontend/src/main.js

+ 7 - 1
vlns-backend/pom.xml

@@ -4,7 +4,7 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
-    <groupId>NeoEditor</groupId>
+    <groupId>cn.seecoder</groupId>
     <artifactId>NeoEditor</artifactId>
     <version>0.0.1</version>
     <packaging>jar</packaging>
@@ -118,4 +118,10 @@
             </resource>
         </resources>
     </build>
+    <distributionManagement>
+        <repository>
+            <id>nexus</id>
+            <url>${nexus.repo}</url>
+        </repository>
+    </distributionManagement>
 </project>

+ 2 - 0
vlns-frontend/src/main.js

@@ -10,6 +10,8 @@ import App from './App.vue'
 import Function from './function'
 import axios from 'axios';
 import httpRequest from './utils/httpRequest'
+
+window.baseUrl= process.env.NODE_ENV === 'development' ? 'http://localhost:7111/api' : '/api'
 // 挂载全局
 Vue.prototype.$http = httpRequest // ajax请求方法
 Vue.prototype.$axios = axios;