This commit is contained in:
@@ -52,8 +52,7 @@ const distributionCode = ref('');
|
|||||||
const errorMessage = ref('');
|
const errorMessage = ref('');
|
||||||
|
|
||||||
function getRegistrationUrl(code: string) {
|
function getRegistrationUrl(code: string) {
|
||||||
const apiBaseUrl = import.meta.env.VITE_API_BASE_URL.replace(/\/+$/, '');
|
return `https://cmp-admin.boss160.cn/agent-registration#/agent-registration?distribution_code=${encodeURIComponent(code)}`;
|
||||||
return `${apiBaseUrl}/#/agent-registration?distribution_code=${encodeURIComponent(code)}`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function drawQrCode(value: string) {
|
function drawQrCode(value: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user