代码调整

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) { doClick(el) {
if (this.token && this.userId) { if (this.token && this.userId) {
// &noPreLogout=true // &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; this.loading = true;
setTimeout(()=>{ setTimeout(()=>{
this.show = true; this.show = true;