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'
|
||||
|
||||
# BOE系统网址
|
||||
VUE_APP_BOE_WEB_URL = 'https://u-pre.boe.com'
|
||||
VUE_APP_BOE_WEB_URL = 'https://pretest.zcwytd.com'
|
||||
|
||||
# BOE 移动端url
|
||||
# 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
|
||||
# VUE_APP_FILE_BASE_URL = 'http://127.0.0.1:9090/cdn/upload'
|
||||
@@ -31,7 +31,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
||||
|
||||
|
||||
# 受众批量导入人员信息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'
|
||||
@@ -47,7 +47,7 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
||||
# scorm课件的播放url地址
|
||||
# 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'
|
||||
|
||||
@@ -10,14 +10,12 @@ function resolve(dir) {
|
||||
const name = defaultSettings.title || '京东方大学堂' // 标题
|
||||
|
||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||
// vue.config.js 配置说明
|
||||
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
||||
// 这里只列一部分,具体配置参考文档
|
||||
const timeStamp = new Date().getTime()
|
||||
// vue.config.js 配置说明
|
||||
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
||||
// 这里只列一部分,具体配置参考文档
|
||||
const timeStamp = new Date().getTime()
|
||||
module.exports = {
|
||||
filenameHashing:false,
|
||||
|
||||
|
||||
filenameHashing: false,
|
||||
// 部署生产环境和开发环境下的URL。
|
||||
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
|
||||
// 例如 https://www.sss.com/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.aaa.com/admin/,则设置 baseUrl 为 /admin/。
|
||||
@@ -33,15 +31,15 @@ module.exports = {
|
||||
css: {
|
||||
extract: {
|
||||
ignoreOrder: true,
|
||||
filename:`css/[name].css?v=${timeStamp}`,
|
||||
chunkFilename:`css/chunk.[id].css?v=${timeStamp}`
|
||||
filename: `css/[name].css?v=${timeStamp}`,
|
||||
chunkFilename: `css/chunk.[id].css?v=${timeStamp}`
|
||||
}
|
||||
},
|
||||
configureWebpack: {
|
||||
name: name,
|
||||
output:{
|
||||
filename:`js/[name].js?v=${timeStamp}`,
|
||||
chunkFilename:`js/chunk.[id].js?v=${timeStamp}`
|
||||
output: {
|
||||
filename: `js/[name].js?v=${timeStamp}`,
|
||||
chunkFilename: `js/chunk.[id].js?v=${timeStamp}`
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
@@ -128,7 +126,8 @@ module.exports = {
|
||||
proxy: {
|
||||
'/manageApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'https://u-pre.boe.com',
|
||||
target: 'https://pretest.zcwytd.com',
|
||||
// target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
@@ -138,9 +137,10 @@ module.exports = {
|
||||
'/systemapi': {
|
||||
// 目标代理服务器地址
|
||||
// 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,
|
||||
logLevel:'debug',
|
||||
logLevel: 'debug',
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
// '^/systemapi': ''
|
||||
@@ -148,7 +148,8 @@ module.exports = {
|
||||
},
|
||||
'/uboeApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'https://u-pre.boe.com',
|
||||
target: 'https://pretest.zcwytd.com',
|
||||
// target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
@@ -157,7 +158,8 @@ module.exports = {
|
||||
},
|
||||
'/userbasic': {
|
||||
// 目标代理服务器地址
|
||||
target: 'https://u-pre.boe.com',
|
||||
target: 'https://pretest.zcwytd.com',
|
||||
// target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
@@ -167,9 +169,10 @@ module.exports = {
|
||||
'/statApi': {
|
||||
// 目标代理服务器地址
|
||||
// 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,
|
||||
logLevel:'debug',
|
||||
logLevel: 'debug',
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
// '^/statApi': ''
|
||||
@@ -178,9 +181,10 @@ module.exports = {
|
||||
'/socialApi': {
|
||||
// 目标代理服务器地址
|
||||
// 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,
|
||||
logLevel:'debug',
|
||||
logLevel: 'debug',
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
// '^/socialApi': ''
|
||||
@@ -188,7 +192,8 @@ module.exports = {
|
||||
},
|
||||
'/report': {
|
||||
// 目标代理服务器地址
|
||||
target: 'https://u-pre.boe.com',
|
||||
target: 'https://pretest.zcwytd.com',
|
||||
// target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
@@ -197,13 +202,15 @@ module.exports = {
|
||||
},
|
||||
'/infrasApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'https://u-pre.boe.com',
|
||||
target: 'https://pretest.zcwytd.com',
|
||||
// target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
'/activityApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'https://u-pre.boe.com',
|
||||
target: 'https://pretest.zcwytd.com',
|
||||
// target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user