feat: 新增页面布局
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<h2 class="text-2xl font-bold mb-4">欢迎使用智念科技 AI</h2>
|
||||
<div class="bg-white p-6">
|
||||
<button
|
||||
class="bg-blue-300 hover:bg-blue-500 text-white px-4 py-2 rounded mr-2"
|
||||
@click="openBaidu"
|
||||
>
|
||||
打开百度
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<Layout>
|
||||
|
||||
</Layout>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
const openBaidu = () => {
|
||||
(window as any).ipcAPI?.openBaidu()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user