修改连接跳转

This commit is contained in:
daihh
2022-06-22 19:07:56 +08:00
parent da19bb9e5a
commit 1651a734c9
2 changed files with 14 additions and 4 deletions

View File

@@ -156,12 +156,21 @@ export default {
this.signInShow=false;
},
handleCommand(val) {
// let obj = {
// one: process.env.VUE_APP_BOE_WEB_URL+'/web/teacherLesson',
// two: process.env.VUE_APP_BOE_WEB_URL+'/grow180/login',
// three: this.webBaseUrl + '/study/index',
// four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130',
// five: process.env.VUE_APP_BOE_WEB_URL+'/boe/new-employee/index.html'
// };
let urlPre=window.location.protocol+'//'+window.location.host;
// process.env.VUE_APP_BOE_WEB_URL
let obj = {
one: process.env.VUE_APP_BOE_WEB_URL+'/web/teacherLesson',
two: process.env.VUE_APP_BOE_WEB_URL+'/grow180/login',
three: this.webBaseUrl + '/study/index',
one: urlPre+'/web/teacherLesson',
two: urlPre+'/grow180/login',
three: this.webBaseUrl + '/study/index?study=1',
four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130',
five: process.env.VUE_APP_BOE_WEB_URL+'/boe/new-employee/index.html'
five: urlPre+'/boe/new-employee/index.html'
};
window.open(obj[val]);
},