mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 首页架构
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import Doc from './index.vue';
|
||||
|
||||
export { Doc };
|
||||
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<n-button quaternary @click="handleClick" title="说明文档">
|
||||
<n-icon size="20" :depth="1">
|
||||
<DocumentTextIcon />
|
||||
</n-icon>
|
||||
</n-button>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { openDoc } from '@/utils/page'
|
||||
import { DocumentText as DocumentTextIcon } from '@vicons/ionicons5'
|
||||
|
||||
const handleClick = () => {
|
||||
openDoc()
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user