代码调整

This commit is contained in:
joylink_cuiweidong 2021-03-22 13:16:07 +08:00
parent 2ce3d41cad
commit e945d654eb

View File

@ -193,7 +193,7 @@ export default {
doClick(el) {
if (this.token && this.userId) {
// &noPreLogout=true
this.src = `http://localhost:9527/cbtc/demoTraining/teach?lessonId=195&mapId=59&lineCode=02&prdType=01&trainingId=${el.id}&token=${this.token}`;
this.src = window.location.origin + `/cbtc/demoTraining/teach?lessonId=195&mapId=59&lineCode=02&prdType=01&trainingId=${el.id}&token=${this.token}`;
this.loading = true;
setTimeout(()=>{
this.show = true;