在ubunut server 22.04+宝塔面板8.0环境,测试运行 nextcloud V18/24/25.0.0/25.0.1/25.0.3几个版本,文件分享功能正常 ,鼠标移动到“复制链接”图标,显示“复制到剪贴版”消息窗口,如图:
在docker for windows 容器中运行nextcloud V26版本,文件分享功能也正常 ,鼠标左键单键“复制链接”图标,显示“已复制链接”消息窗口,如图:
可是在ubunut server 22.04+宝塔面板8.0环境,测试运行 nextcloud V25.0.4/25.0.5/25.0.8/26/27版本,启用自带的文件共享插件(File sharing)复制链接功能失效,鼠标移动到文件共享中“复制链接”图标时,却显示“无法复制,请手动复制链接”消息,有时也会显示“Copy public link of "共享链接" to clipboard”消息。
nextcloud V25.0.3版本files_sharing-files_sharing_tab.js文件中与此问题相关代码:
clipboardTooltip:function(){return this.copied?this.copySuccess?"":t("files_sharing","Cannot copy, please copy the link manually"):t("files_sharing","Copy to clipboard")},
clipboardTooltip:function(){return this.copied?this.copySuccess?"":t("files_sharing","Cannot copy, please copy the link manually"):t("files_sharing","Copy to clipboard")},
nextcloud V25.0.4版本files_sharing-files_sharing_tab.js文件中与此问题相关代码:
copyLinkTooltip:function(){return this.copied?this.copySuccess?"":t("files_sharing","Cannot copy, please copy the link manually"):t("files_sharing","Copy internal link to clipboard")},
copyLinkTooltip:function(){return this.copied?this.copySuccess?"":t("files_sharing","Cannot copy, please copy the link manually"):t("files_sharing",'Copy public link of "{title}" to clipboard',{title:this.title})},
代码中英文消息对应中文版:
"Cannot copy, please copy the link manually" : "无法复制,请手动复制链接",
"Link copied" : "已复制链接","
Copy to clipboard" : "复制到剪贴板",
"Copy internal link to clipboard" : "复制内部链接到剪贴板",