mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-10-23 20:51:18 +08:00
fix: 修正匹配图片文件的正则表达式
This commit is contained in:
@@ -84,8 +84,6 @@ export default function useClipOperate({ emit }) {
|
||||
if (item.type === 'file') {
|
||||
const fl = JSON.parse(item.data)
|
||||
for (const f of fl) {
|
||||
console.log(f.name, r.test(f.name))
|
||||
// TODO: fix: 图片文件不能正确匹配
|
||||
if (r.test(f.name)) {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user