blocklet / media-kit

Simple image upload and sharing blocklet
Other
4 stars 0 forks source link

[ Bug ]: 0.1.38 会抛错误 Uncaught TypeError: Url must be a string. Received undefined #294

Closed ymzuiku closed 2 months ago

ymzuiku commented 2 months ago

🐛 Bug Report

详细描述

image

server 更新到 uploader: 0.1.38 , 前端会抛出这个错误:

chunk-LUHX7S5H.js?v=199a85b4:8681 Uncaught TypeError: Url must be a string. Received undefined at normalize (chunk-LUHX7S5H.js?v=199a85b4:8681:19) at chunk-LUHX7S5H.js?v=199a85b4:8709:16 at getUploaderEndpoint (chunk-LUHX7S5H.js?v=199a85b4:8832:52) at getPluginList (chunk-YEJPRAAO.js?v=199a85b4:38270:28) at chunk-YEJPRAAO.js?v=199a85b4:38617:22 at renderWithHooks (chunk-LYQWHU4W.js?v=199a85b4:18426:26) at updateForwardRef (chunk-LYQWHU4W.js?v=199a85b4:21203:28) at mountLazyComponent (chunk-LYQWHU4W.js?v=199a85b4:21725:23) at beginWork (chunk-LYQWHU4W.js?v=199a85b4:22796:22) at HTMLUnknownElement.callCallback2 (chunk-LYQWHU4W.js?v=199a85b4:10552:22)

具体的函数: image

复现这个 bug

截图或报错信息(可选)

异常的行为

期望的行为

可能的解决方案(可选)