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