--fix bug

This commit is contained in:
yuping
2023-02-02 10:38:02 +08:00
parent e15cabe750
commit efd6f9412d
3 changed files with 12 additions and 9 deletions

View File

@@ -186,7 +186,10 @@ function del(id) {
okType: 'danger',
cancelText: () => '取消',
onOk() {
id && delStudentList({ids: [id]}).then(() => searchStu())
if(id){
loading.value = true
delStudentList({ids: [id]}).then(() => searchStu())
}
},
});
}