🔨 Refactor: refactored the import section of the code

This commit is contained in:
萌萌哒赫萝
2023-08-07 01:36:27 -07:00
parent 33b36d63c6
commit cb131d5250
64 changed files with 778 additions and 195 deletions
+11
View File
@@ -114,11 +114,22 @@
</div>
</template>
<script lang="ts" setup>
// 按键绑定工具函数
import keyBinding from '@/utils/key-binding'
// Electron 相关
import { ipcRenderer, IpcRendererEvent } from 'electron'
// 事件常量
import { TOGGLE_SHORTKEY_MODIFIED_MODE } from '#/events/constants'
// Vue 生命周期钩子
import { onBeforeUnmount, onBeforeMount, ref, watch } from 'vue'
// 数据发送工具函数
import { getConfig, sendToMain } from '@/utils/dataSender'
// 国际化函数
import { T as $T } from '@/i18n'
const list = ref<IShortKeyConfig[]>([])