refactor(@vben/web-antd): 更新 dayjs 依赖并优化蜘蛛工作视图下载链接
- 将 dayjs 依赖从具体版本更新为目录版本,提高兼容性 - 修改蜘蛛工作视图中的下载链接,使用相对路径替代固定 IP 地址
This commit is contained in:
parent
4106c97d53
commit
6679761b9e
@ -45,7 +45,7 @@
|
||||
"@vueuse/integrations": "catalog:",
|
||||
"ant-design-vue": "catalog:",
|
||||
"ant-design-x-vue": "^1.1.2",
|
||||
"dayjs": "^1.11.13",
|
||||
"dayjs": "catalog:",
|
||||
"markdown-it": "^14.1.0",
|
||||
"qrcode": "catalog:",
|
||||
"tippy.js": "catalog:",
|
||||
|
@ -182,7 +182,7 @@ const startPolling = async () => {
|
||||
style: { marginLeft: '10px' },
|
||||
onClick: () => {
|
||||
const link = document.createElement('a');
|
||||
link.href = `http://47.112.173.8:6806${download_url}`;
|
||||
link.href = `/spider${download_url}`;
|
||||
link.download = fetchResult.value;
|
||||
document.body.append(link);
|
||||
link.click();
|
||||
|
Loading…
Reference in New Issue
Block a user