Commit 67fef3de authored by 张伯涛's avatar 张伯涛

删除注释

parent 17de21bc
...@@ -4,27 +4,7 @@ ENV = 'development' ...@@ -4,27 +4,7 @@ ENV = 'development'
# base api # base api
VUE_APP_BASE_API = '/dev-api' VUE_APP_BASE_API = '/dev-api'
# workFlow链接地址
# VUE_APP_WORKFLOW = 'http://106.2.17.219:10180'
VUE_APP_WORKFLOW = '/workFlow'
# internal链接地址
VUE_APP_INTERNAL = '/internal'
# login地址
VUE_APP_LOGIN = 'http://login.court.com/#/login'
# 中台地址
VUE_APP_ZT = 'http://main.court.com'
# 内勤地址
VUE_APP_NQ = 'http://nq.court.com'
# 根域名
VUE_APP_ROOT = 'court.com'
# 模板地址
VUE_APP_TEMPLATE = 'http://192.168.1.17:8072/'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
# It only does one thing by converting all import() to require().
# This configuration can significantly increase the speed of hot updates,
# when you have a large number of pages.
# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true
# just a flag # just a flag
ENV = 'production' ENV = 'production'
# 私有环境
# base api
#VUE_APP_BASE_API = 'http://zt.51newsoftware.com:10184'
# workFlow链接地址
#VUE_APP_WORKFLOW = 'http://zt.51newsoftware.com:10184/workFlow'
# internal链接地址
#VUE_APP_INTERNAL = 'http://zt.51newsoftware.com:10184/internal'
# login地址
#VUE_APP_LOGIN = 'http://login.51newsoftware.com:10181/#/login'
# 中台地址
#VUE_APP_ZT = 'http://zt.51newsoftware.com:10181'
# 内勤地址
#VUE_APP_NQ = 'http://nq.51newsoftware.com:10181'
# 根域名
#VUE_APP_ROOT = '51newsoftware.com'
# 模板地址
#VUE_APP_TEMPLATE = 'http://zt.51newsoftware.com:10191/'
# 生产环境 # 生产环境
# base api # base api
VUE_APP_BASE_API = 'http://zt.cebitic.com:10184' VUE_APP_BASE_API = 'http://zt.cebitic.com:10184'
# workFlow链接地址
VUE_APP_WORKFLOW = 'http://zt.cebitic.com:10184/workFlow'
# internal链接地址
VUE_APP_INTERNAL = 'http://zt.cebitic.com:10184/internal'
# login地址
VUE_APP_LOGIN = 'http://login.cebitic.com:10181/#/login'
# 中台地址
VUE_APP_ZT = 'http://zt.cebitic.com:10181'
# 内勤地址
VUE_APP_NQ = 'http://nq.cebitic.com:10181'
# 根域名
VUE_APP_ROOT = 'cebitic.com'
# 模板地址
VUE_APP_TEMPLATE = 'http://zt.cebitic.com:10191/'
...@@ -3,19 +3,4 @@ ENV = 'test' ...@@ -3,19 +3,4 @@ ENV = 'test'
# 测试环境 # 测试环境
# base api # base api
# VUE_APP_BASE_API = 'http://192.144.239.97:20070/'
VUE_APP_BASE_API = 'http://192.144.239.97:20075/' VUE_APP_BASE_API = 'http://192.144.239.97:20075/'
#workFlow链接地址
VUE_APP_WORKFLOW = 'http://zt.91isoft.com:10184/workFlow'
#internal链接地址
VUE_APP_INTERNAL = 'http://zt.91isoft.com:10184/internal'
# login地址
VUE_APP_LOGIN = 'http://login.91isoft.com:10181/#/login'
# 中台地址
VUE_APP_ZT = 'http://zt.91isoft.com:10181'
# 内勤地址
VUE_APP_NQ = 'http://nq.91isoft.com:10181'
# 根域名
VUE_APP_ROOT = '91isoft.com'
# 模板地址
VUE_APP_TEMPLATE = 'http://zt.91isoft.com:10190/'
...@@ -14,11 +14,6 @@ function resolve(dir) { ...@@ -14,11 +14,6 @@ function resolve(dir) {
const name = defaultSettings.title || 'vue Admin Template' // page title const name = defaultSettings.title || 'vue Admin Template' // page title
// If your port is set to 80,
// use administrator privileges to execute the command line.
// For example, Mac: sudo npm run
// You can change the port by the following methods:
// port = 9528 npm run dev OR npm run dev --port = 9528
const port = process.env.port || process.env.npm_config_port || 8080 // dev port const port = process.env.port || process.env.npm_config_port || 8080 // dev port
// 引入等比适配插件 // 引入等比适配插件
...@@ -30,7 +25,7 @@ const postcss = px2rem({ ...@@ -30,7 +25,7 @@ const postcss = px2rem({
remUnit: 16 remUnit: 16
}) })
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module.exports = { module.exports = {
css: { css: {
loaderOptions: { loaderOptions: {
...@@ -59,40 +54,7 @@ module.exports = { ...@@ -59,40 +54,7 @@ module.exports = {
// errors: true // errors: true
// }, // },
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
// [process.env.VUE_APP_BASE_API]: {
// // target: `http://10.5.87.231:10010/`,
// target: `http://zt.91isoft.com:10184/`,
// // target: 'http://192.168.1.17:10010/',
// changeOrigin: true,
// pathRewrite: {
// ['^' + process.env.VUE_APP_BASE_API]: ''
// }
// },
// [process.env.VUE_APP_WORKFLOW]: {
// target: 'http://zt.91isoft.com:10184/workFlow/',
// // target: 'http://192.168.1.17:10010/workFlow/',
// // target: 'http://10.5.87.231:10010/workFlow/',
// changeOrigin: true,
// pathRewrite: {
// ['^' + process.env.VUE_APP_WORKFLOW]: ''
// }
// },
// [process.env.VUE_APP_INTERNAL]: {
// target: 'http://zt.91isoft.com:10184/internal/',
// // target: 'http://192.168.1.17:10010/internal/',
// // target: 'http://10.5.87.231:10010/internal/',
// changeOrigin: true,
// pathRewrite: {
// ['^' + process.env.VUE_APP_INTERNAL]: ''
// }
// },
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.1.29:8082/`,
// target: `http://10.5.87.231:10010/internal`,
// target: `http://117.122.212.91:32012/`,
// target: `http://192.168.1.31:8082/`,
// target: `http://192.168.1.12:8082/`, // 孙浩
target: `http://49.232.167.247:20014/`, target: `http://49.232.167.247:20014/`,
// target: `http://192.168.1.30:8082/`, // target: `http://192.168.1.30:8082/`,
// changeOrigin: true, // changeOrigin: true,
...@@ -103,8 +65,6 @@ module.exports = { ...@@ -103,8 +65,6 @@ module.exports = {
} }
}, },
configureWebpack: { configureWebpack: {
// provide the app's title in webpack's name field, so that
// it can be accessed in index.html to inject the correct title.
name: name, name: name,
resolve: { resolve: {
alias: { alias: {
......
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