mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 01:46:42 +08:00
修改bug
This commit is contained in:
@@ -16,11 +16,11 @@ VUE_APP_CESOURCE_BASE_API = '/socialApi'
|
|||||||
VUE_APP_STAT_BASE_API = '/statApi'
|
VUE_APP_STAT_BASE_API = '/statApi'
|
||||||
|
|
||||||
# BOE系统网址
|
# BOE系统网址
|
||||||
VUE_APP_BOE_WEB_URL = 'https://u-pre.boe.com'
|
VUE_APP_BOE_WEB_URL = 'https://pretest.zcwytd.com'
|
||||||
|
|
||||||
# BOE 移动端url
|
# BOE 移动端url
|
||||||
# VUE_APP_BOE_MOBILE_URL = 'http://127.0.0.1:8082/mobile'
|
# VUE_APP_BOE_MOBILE_URL = 'http://127.0.0.1:8082/mobile'
|
||||||
VUE_APP_BOE_MOBILE_URL = 'https://u-pre.boe.com'
|
VUE_APP_BOE_MOBILE_URL = 'https://pretest.zcwytd.com'
|
||||||
|
|
||||||
# File路径的基础url
|
# File路径的基础url
|
||||||
# VUE_APP_FILE_BASE_URL = 'http://127.0.0.1:9090/cdn/upload'
|
# VUE_APP_FILE_BASE_URL = 'http://127.0.0.1:9090/cdn/upload'
|
||||||
@@ -31,7 +31,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
|||||||
|
|
||||||
|
|
||||||
# 受众批量导入人员信息URL
|
# 受众批量导入人员信息URL
|
||||||
VUE_APP_AUDIENCE_IMPORT_URL = 'https://u-pre.boe.com/userbasic/audience/import'
|
VUE_APP_AUDIENCE_IMPORT_URL = 'https://pretest.zcwytd.com/userbasic/audience/import'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='/pc/login'
|
VUE_APP_LOGIN_URL='/pc/login'
|
||||||
@@ -47,7 +47,7 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
|||||||
|
|
||||||
# scorm课件的播放url地址
|
# scorm课件的播放url地址
|
||||||
# VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player'
|
# VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player'
|
||||||
VUE_APP_SCORM_URL = 'https://u-pre.boe.com/newscorm/scorm-player'
|
VUE_APP_SCORM_URL = 'https://pretest.zcwytd.com/newscorm/scorm-player'
|
||||||
|
|
||||||
#案例组织领域类型
|
#案例组织领域类型
|
||||||
VUE_APP_CASE_TYPE = '90'
|
VUE_APP_CASE_TYPE = '90'
|
||||||
|
|||||||
@@ -10,14 +10,12 @@ function resolve(dir) {
|
|||||||
const name = defaultSettings.title || '京东方大学堂' // 标题
|
const name = defaultSettings.title || '京东方大学堂' // 标题
|
||||||
|
|
||||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||||
// vue.config.js 配置说明
|
// vue.config.js 配置说明
|
||||||
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
||||||
// 这里只列一部分,具体配置参考文档
|
// 这里只列一部分,具体配置参考文档
|
||||||
const timeStamp = new Date().getTime()
|
const timeStamp = new Date().getTime()
|
||||||
module.exports = {
|
module.exports = {
|
||||||
filenameHashing:false,
|
filenameHashing: false,
|
||||||
|
|
||||||
|
|
||||||
// 部署生产环境和开发环境下的URL。
|
// 部署生产环境和开发环境下的URL。
|
||||||
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
|
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
|
||||||
// 例如 https://www.sss.com/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.aaa.com/admin/,则设置 baseUrl 为 /admin/。
|
// 例如 https://www.sss.com/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.aaa.com/admin/,则设置 baseUrl 为 /admin/。
|
||||||
@@ -33,15 +31,15 @@ module.exports = {
|
|||||||
css: {
|
css: {
|
||||||
extract: {
|
extract: {
|
||||||
ignoreOrder: true,
|
ignoreOrder: true,
|
||||||
filename:`css/[name].css?v=${timeStamp}`,
|
filename: `css/[name].css?v=${timeStamp}`,
|
||||||
chunkFilename:`css/chunk.[id].css?v=${timeStamp}`
|
chunkFilename: `css/chunk.[id].css?v=${timeStamp}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
name: name,
|
name: name,
|
||||||
output:{
|
output: {
|
||||||
filename:`js/[name].js?v=${timeStamp}`,
|
filename: `js/[name].js?v=${timeStamp}`,
|
||||||
chunkFilename:`js/chunk.[id].js?v=${timeStamp}`
|
chunkFilename: `js/chunk.[id].js?v=${timeStamp}`
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
@@ -128,7 +126,8 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
'/manageApi': {
|
'/manageApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
@@ -138,9 +137,10 @@ module.exports = {
|
|||||||
'/systemapi': {
|
'/systemapi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
// target: 'http://127.0.0.1:9090',
|
// target: 'http://127.0.0.1:9090',
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel: 'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
// '^/systemapi': ''
|
// '^/systemapi': ''
|
||||||
@@ -148,7 +148,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'/uboeApi': {
|
'/uboeApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
@@ -157,7 +158,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'/userbasic': {
|
'/userbasic': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
@@ -167,9 +169,10 @@ module.exports = {
|
|||||||
'/statApi': {
|
'/statApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
// target: 'http://127.0.0.1:9080',
|
// target: 'http://127.0.0.1:9080',
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel: 'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
// '^/statApi': ''
|
// '^/statApi': ''
|
||||||
@@ -178,9 +181,10 @@ module.exports = {
|
|||||||
'/socialApi': {
|
'/socialApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
// target: 'http://127.0.0.1:9081',
|
// target: 'http://127.0.0.1:9081',
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
logLevel:'debug',
|
logLevel: 'debug',
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
// '^/socialApi': ''
|
// '^/socialApi': ''
|
||||||
@@ -188,7 +192,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'/report': {
|
'/report': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
@@ -197,13 +202,15 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
'/infrasApi': {
|
'/infrasApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
},
|
},
|
||||||
'/activityApi': {
|
'/activityApi': {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
target: 'https://u-pre.boe.com',
|
target: 'https://pretest.zcwytd.com',
|
||||||
|
// target: 'https://u-pre.boe.com',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user