mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
修改案例详细页面的事件控制
This commit is contained in:
@@ -245,7 +245,6 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
jumecase(item){
|
jumecase(item){
|
||||||
this.$router.push({ path: './Detail.vue', query: { id: item.id } });
|
this.$router.push({ path: './Detail.vue', query: { id: item.id } });
|
||||||
|
|
||||||
},
|
},
|
||||||
couresreso(){
|
couresreso(){
|
||||||
let key = 'case';
|
let key = 'case';
|
||||||
@@ -492,7 +491,7 @@ export default {
|
|||||||
if(this.caseDetail.filePath){
|
if(this.caseDetail.filePath){
|
||||||
//this.pdfPath=this.basePath+this.caseDetail.filePath;
|
//this.pdfPath=this.basePath+this.caseDetail.filePath;
|
||||||
this.createPlayUrl(this.caseDetail.filePath);
|
this.createPlayUrl(this.caseDetail.filePath);
|
||||||
this.sendEventData();
|
//this.sendEventData();//移到检查之后
|
||||||
}else{
|
}else{
|
||||||
this.$message.error('内容文件不存在或已被删除,请与管理员联系');
|
this.$message.error('内容文件不存在或已被删除,请与管理员联系');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -503,7 +503,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(this.appendStudyOtherHandle!=null){
|
if(this.appendStudyOtherHandle!=null){
|
||||||
windows.clearTimeout(this.appendStudyOtherHandle);
|
window.clearTimeout(this.appendStudyOtherHandle);
|
||||||
}
|
}
|
||||||
this.playerBoxShow = false;
|
this.playerBoxShow = false;
|
||||||
//显示内容部分
|
//显示内容部分
|
||||||
|
|||||||
Reference in New Issue
Block a user