mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 11:26:52 +08:00
feat: show path variable friendly in tool edit (#7344)
This commit is contained in:
@@ -169,7 +169,7 @@ const EditCustomCollectionModal: FC<Props> = ({
|
|||||||
return ''
|
return ''
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const path = new URL(url).pathname
|
const path = decodeURI(new URL(url).pathname)
|
||||||
return path || ''
|
return path || ''
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user