使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
OpenSource
/
dify
关注
4
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
152
百科
动态
浏览代码
fix: trim whitespace from URL input in file uploader component
#16700
(
#16722
)
tags/1.2.0
GuanMu
7 个月前
父节点
05c6d57f29
当前提交
0811a23cd4
没有帐户链接到提交者的电子邮件
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
合并视图
显示文件统计
1
1
web/app/components/base/file-uploader/file-from-link-or-local/index.tsx
+ 1
- 1
web/app/components/base/file-uploader/file-from-link-or-local/index.tsx
查看文件
value={url}
value={url}
onChange={(e) => {
onChange={(e) => {
setShowError(false)
setShowError(false)
setUrl(e.target.value)
setUrl(e.target.value
.trim()
)
}}
}}
disabled={disabled}
disabled={disabled}
/>
/>
撰写
预览
正在加载...
取消
保存