<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>
