yuantianjiao 6 years ago
parent
commit
48999499eb
2 changed files with 5 additions and 5 deletions
  1. 4
    4
      config/index.js
  2. 1
    1
      dist/index.html

+ 4
- 4
config/index.js View File

@@ -15,8 +15,8 @@ module.exports = {
15 15
         // target: 'http://192.168.0.62:8080', //wf
16 16
         // target: 'http://127.0.0.1:8080', 
17 17
         // target: 'http://192.168.0.11:8080', //ys
18
-        target: 'http://192.168.0.125:8080', //hyq
19
-        // target: 'http://dev.ycjcjy.com/', //frp
18
+        // target: 'http://192.168.0.125:8080', //hyq
19
+        target: 'http://dev.ycjcjy.com', //frp
20 20
         changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
21 21
         // pathRewrite: {
22 22
         //   '^/api': 'api'
@@ -25,7 +25,7 @@ module.exports = {
25 25
     },
26 26
     // Various Dev Server settings
27 27
     host: '0.0.0.0', // can be overwritten by process.env.HOST
28
-    port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
28
+    port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
29 29
     autoOpenBrowser: false,
30 30
     errorOverlay: true,
31 31
     notifyOnErrors: true,
@@ -44,7 +44,7 @@ module.exports = {
44 44
      */
45 45
 
46 46
     // https://webpack.js.org/configuration/devtool/#development
47
-    devtool: 'cheap-module-eval-source-map',
47
+    devtool: 'source-map',
48 48
 
49 49
     // If you have problems debugging vue-files in devtools,
50 50
     // set this to false - it *may* help

+ 1
- 1
dist/index.html View File

@@ -1 +1 @@
1
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.1ad9f0230ad6b270fefd76edc0ff0c58.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.992319e39e0ff64940a3.js></script><script type=text/javascript src=./static/js/app.4a6642306a7d0e734a40.js></script></body></html>
1
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.821d88cb9fb0b7a2a0a52ed3b6114ec3.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.7e921535e20f729cf046.js></script><script type=text/javascript src=./static/js/app.27ed2d15fe6a31a9725c.js></script></body></html>