Merge branch 'zcwy0428-zsx' into 'master'

打包

See merge request !37
This commit is contained in:
joshen
2024-06-19 19:05:09 +08:00
8 changed files with 10 additions and 5 deletions

View File

@@ -22,6 +22,7 @@ if(process.env.NODE_ENV === 'development'){
fileUrl = 'https://u-pre.boe.com/upload';
//fileUrl = 'https://u-pre.boe.com/cdn/upload';
loginPath='/mobile/pages/login/login';
loginPathLogin='/mobile/pages/login/loginuser';
scormPlayer='https://u-pre.boe.com/scorm-player';
apiActivityUrl='/activityApi';
}else if(process.env.ENV_TYPE === 'preview'){
@@ -34,6 +35,7 @@ if(process.env.NODE_ENV === 'development'){
socialApiBaseUrl='/socialApi-release';
fileUrl = 'https://u.boe.com/upload';
loginPath='https://u.boe.com/m/login';
loginPathLogin='/mobile/pages/login/loginuser';
scormPlayer='https://u.boe.com/newscorm/scorm-player';
apiActivityUrl='/activityApi';
}else if(process.env.ENV_TYPE === 'testing'){
@@ -44,6 +46,7 @@ if(process.env.NODE_ENV === 'development'){
socialApiBaseUrl='/socialApi';
fileUrl = 'https://u-pre.boe.com/upload';
loginPath='https://u-pre.boe.com/m/login';
loginPathLogin='/mobile/pages/login/loginuser';
scormPlayer='https://u-pre.boe.com/newscorm/scorm-player';
apiActivityUrl='/activityApi';
}else{
@@ -55,6 +58,7 @@ if(process.env.NODE_ENV === 'development'){
socialApiBaseUrl='/socialApi';
fileUrl = 'https://u.boe.com/upload';
loginPath='https://u.boe.com/m/login';
loginPathLogin='/mobile/pages/login/loginuser';
scormPlayer='https://u.boe.com/newscorm/scorm-player';
apiActivityUrl='/activityApi';
}
@@ -69,6 +73,7 @@ export default {
context:context,
appId:appId,
loginPath:loginPath,
loginPathLogin:loginPathLogin,
fileUrl:fileUrl,
version:version,
scormPlayer:scormPlayer

View File

@@ -196,7 +196,7 @@
that.$store.dispatch("LogOut").then(rs =>{
that.clearShow=false;
if(rs.status==200){
let loginPath=this.$config.loginPath;
let loginPath=this.$config.loginPathLogin;
if(loginPath.startsWith('http')){
// #ifdef APP-PLUS
plus.runtime.openURL(loginPath) //这里默认使用外部浏览器打开而不是内部web-view组件打开

View File

@@ -19,4 +19,4 @@
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.09d7925b.js></script></body></html>
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.11a5f526.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long