Skip to content

Commit

Permalink
修复子组件函数验证
Browse files Browse the repository at this point in the history
  • Loading branch information
HalcyonAlcedo committed Aug 27, 2024
1 parent af9c8ee commit 6c88ce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/authentication/auth/LoginPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const request = axios.create({
const updateChild = () => {
if (childRef.value) {
if (childRef?.value?.getUserList) {
childRef.value.getUserList();
}
};
Expand All @@ -47,7 +47,7 @@ const verifyServer = (url:string) => {
verifyMsg.value = '验证通过'
dialog.value = false
updateChild()
if (childRef.value) {
if (childRef?.value?.queryLogin) {
childRef.value.queryLogin();
}
} else {
Expand Down

0 comments on commit 6c88ce8

Please sign in to comment.