mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-06-07 22:04:06 +08:00
refactor: 清理window上冗余的挂载对象
This commit is contained in:
parent
cce8116bb1
commit
07b58e8b80
@ -254,8 +254,5 @@ window.copy = copy
|
||||
window.paste = paste
|
||||
window.remove = remove
|
||||
window.createFile = createFile
|
||||
window.openFile = utools.shellOpenPath
|
||||
window.openFileFolder = utools.shellShowItemInFolder
|
||||
window.getIcon = utools.getFileIcon
|
||||
window.focus = focus
|
||||
window.toTop = toTop
|
||||
|
@ -19,8 +19,8 @@ const props = defineProps({
|
||||
required: true
|
||||
}
|
||||
})
|
||||
const openFile = (path) => window.openFile(path)
|
||||
const getIcon = (path) => window.getIcon(path)
|
||||
const openFile = (path) => utools.shellOpenPath(path)
|
||||
const getIcon = (path) => utools.getFileIcon(path)
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
Loading…
x
Reference in New Issue
Block a user