feat: 调整布局
This commit is contained in:
18
src/renderer/views/setting/index.vue
Normal file
18
src/renderer/views/setting/index.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<Layout>
|
||||
<template #task>
|
||||
<Task />
|
||||
</template>
|
||||
</Layout>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import Task from '../components/Task/index.vue'
|
||||
|
||||
const openBaidu = () => {
|
||||
(window as any).ipcAPI?.openBaidu()
|
||||
|
||||
// 发送日志
|
||||
(window as any).ipcAPI?.logToMain('info', '打开百度')
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user