chore: 添加Logo 移除多余依赖 调整代码执行细节

This commit is contained in:
ZiuChen
2022-08-15 12:10:50 +08:00
parent 22a03d0f3a
commit 1e75dc1a27
7 changed files with 12 additions and 208 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -117,7 +117,7 @@ function pbpaste() {
size: `${image.getSize().width}x${image.getSize().height}`,
data: image.toDataURL()
}
let text = clipboard.readText()
const text = clipboard.readText()
if (text.trim()) return { type: 'text', data: text }
}