mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-29 17:58:19 +08:00
Feat: Invitation link automatically completes domain name (#3393)
Co-authored-by: huangbaichao <hbc@moonlit.art>
This commit is contained in:
parent
c9abb75fce
commit
b90bc6c348
@ -18,7 +18,7 @@ const InvitationLink = ({
|
|||||||
const selector = useRef(`invite-link-${randomString(4)}`)
|
const selector = useRef(`invite-link-${randomString(4)}`)
|
||||||
|
|
||||||
const copyHandle = useCallback(() => {
|
const copyHandle = useCallback(() => {
|
||||||
copy(value.url)
|
copy(window.location.origin + value.url)
|
||||||
setIsCopied(true)
|
setIsCopied(true)
|
||||||
}, [value])
|
}, [value])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user