feat: 跳转链接带二维码

This commit is contained in:
renxiaodong
2025-06-23 01:46:41 -04:00
parent b3d33600c0
commit 9c8d5ba8d0
4 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,7 @@
<!--
* @Author: RenXiaoDong
* @Date: 2025-06-22 22:15:28
-->
<template>
<Modal title="加入企业" @ok="handleJoin">
<div v-if="enterprise" class="join-body flex item-center">
@ -18,7 +22,8 @@ const inviteCode = ref();
async function getEnterprise() {
inviteCode.value = getQueryParam('invite_code');
if (inviteCode.value) {
enterprise.value = await getEnterpriseByInviteCode(inviteCode.value);
const res = await getEnterpriseByInviteCode(inviteCode.value);
enterprise.value = res.data;
}
}