mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 01:46:42 +08:00
在线人员弹窗关闭输入框置空
This commit is contained in:
@@ -344,6 +344,10 @@ export default {
|
||||
manageStudyData: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
},
|
||||
isShowDialog:{
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -418,6 +422,15 @@ export default {
|
||||
this.learningSituation.name = ''
|
||||
}
|
||||
},
|
||||
isShowDialog(val){
|
||||
if(!val){
|
||||
this.signup.status = null
|
||||
this.signup.name = ''
|
||||
this.learningRecords.status = null
|
||||
this.learningRecords.name = ''
|
||||
this.value = ''
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getSignupList();
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
</el-dialog>
|
||||
<!--课程管理-->
|
||||
<el-dialog custom-class="g-dialog" title="课程学习管理" width="900px" :visible.sync="manageStudy.dlgShow" :close-on-click-modal="false">
|
||||
<manager :manageStudyData="manageStudyData"></manager>
|
||||
<manager :manageStudyData="manageStudyData" :isShowDialog="manageStudy.dlgShow"></manager>
|
||||
<template #footer>
|
||||
<el-button @click="manageStudy.dlgShow = false">关闭</el-button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user