mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-07-12 16:11:27 +08:00
🚧 WIP: shortcut setting page
This commit is contained in:
31
src/renderer/components/ShortKeyForm.vue
Normal file
31
src/renderer/components/ShortKeyForm.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
title="设置快捷键"
|
||||
:visible.sync="visible"
|
||||
:modal-append-to-body="false"
|
||||
>
|
||||
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script>
|
||||
// import keyDetect from 'utils/key-binding'
|
||||
export default {
|
||||
name: '',
|
||||
props: {
|
||||
visible: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this.$db.read().get('settings.shortKey')
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
list: []
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang='stylus'>
|
||||
</style>
|
||||
Reference in New Issue
Block a user