mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 18:25:55 +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…
x
Reference in New Issue
Block a user