update:新增机构扫码登录页

This commit is contained in:
2026-07-31 09:42:59 +08:00
parent 970a9874b4
commit f34800798d
5 changed files with 200 additions and 9 deletions
+5
View File
@@ -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 {