zhaobao 1 éve
szülő
commit
0de86811d1
3 módosított fájl, 5 hozzáadás és 4 törlés
  1. 1 0
      .gitignore
  2. 2 2
      src/settings.js
  3. 2 2
      vue.config.js

+ 1 - 0
.gitignore

@@ -1,6 +1,7 @@
 .DS_Store
 node_modules/
 dist/
+goaf_admin_dist/
 npm-debug.log*
 yarn-debug.log*
 yarn-error.log*

+ 2 - 2
src/settings.js

@@ -37,8 +37,8 @@ module.exports = {
   * 服务API地址
   */
   serverUrl: 'http://113.141.93.143:1688', // 正式环境
-  // devServerUrl: 'http://113.141.93.143:1688', // 开发环境
-  devServerUrl: 'http://192.168.3.5:1688', // 开发环境 qu
+  devServerUrl: 'http://113.141.93.143:1688', // 开发环境
+  // devServerUrl: 'http://192.168.3.5:1688', // 开发环境 qu
   // devServerUrl: 'http://192.168.3.201:8080/', // 开发环境  test
   mqttUrl: 'ws://113.141.93.143:8894/mqtt', // mqtt地址
   /**

+ 2 - 2
vue.config.js

@@ -24,8 +24,8 @@ module.exports = {
    * In most cases please use '/' !!!
    * Detail: https://cli.vuejs.org/config/#publicpath
    */
-  publicPath: '/',
-  outputDir: 'dist',
+  publicPath: './',
+  outputDir: 'goaf_admin_dist',
   assetsDir: 'static',
   lintOnSave: process.env.NODE_ENV === 'development',
   productionSourceMap: false,