mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-10-23 20:51:18 +08:00
refactor: 清理window上冗余的挂载对象
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user