在线人员弹窗关闭输入框置空

This commit is contained in:
zhangsir
2024-08-12 09:53:10 +08:00
parent 6178a7074f
commit 66d2a905a5
2 changed files with 14 additions and 1 deletions

View File

@@ -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();