update:新增机构扫码登录页
This commit is contained in:
@@ -32,6 +32,10 @@ const props = defineProps({
|
||||
type: Function,
|
||||
default: () => {},
|
||||
},
|
||||
onSuccess: {
|
||||
type: Function,
|
||||
default: () => {},
|
||||
},
|
||||
});
|
||||
const agree = ref(false);
|
||||
const phone = ref("");
|
||||
@@ -127,6 +131,7 @@ async function doLogin() {
|
||||
clearDevice();
|
||||
}
|
||||
props.onClose();
|
||||
await props.onSuccess();
|
||||
} catch (error) {
|
||||
console.log("login error", error);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user