随笔分类 - 其他
摘要:# 克隆旧仓库git clone --mirror https://github.com/username/old-repo.gitcd old-repo.git(cd到旧仓库镜像目录) # 设置新仓库为远程仓库git remote set-url origin https://github.com
阅读全文
摘要:使用 Ant Design Vue 2 预览 Word、PDF 和 Excel 文件可以通过 <iframe> 标签实现,但需要注意以下几点: 文件 URL:确保 info.fileUrl 是一个有效的文件 URL。 浏览器支持:不同的浏览器对文件预览的支持程度不同,特别是对于 Office 文档(
阅读全文