Commit 17743271 authored by 罗超's avatar 罗超

分享域名错误

parent 3e1fdcae
......@@ -136,7 +136,7 @@ const copyInviteUrlHandler = async (e: MouseEvent) => {
if (response.data.resultCode == ApiResult.SUCCESS) {
let currentDate = new Date();
currentDate.setDate(currentDate.getDate() + 14);
const url = `http://www.viitto.com/j/${response.data.data} \n我正在使用Travel Design,点击链接立即加入我的团队。\n邀请人:${userInfo.value.nickname}\n团队/企业名称:${userInfo.value.company}\n有效期至:${dateFormat(currentDate, "YYYYMMDD")}`
const url = `${window.location.origin}/j/${response.data.data} \n我正在使用Travel Design,点击链接立即加入我的团队。\n邀请人:${userInfo.value.nickname}\n团队/企业名称:${userInfo.value.company}\n有效期至:${dateFormat(currentDate, "YYYYMMDD")}`
copyText(url)
ElMessage.success({ message: '复制成功' })
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment