feat: 跳转链接带二维码
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user