mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-01 19:28:51 +08:00
perf: 优化顶部布局
This commit is contained in:
parent
3bfbee4cc1
commit
026b07721a
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<n-space class="header-left-btn" :size="25">
|
||||
<n-space class="header-left-btn" :wrap="false" :size="25">
|
||||
<n-button size="small" quaternary @click="goHomeHandle()">
|
||||
<template #icon>
|
||||
<n-icon :depth="3">
|
||||
@ -7,7 +7,7 @@
|
||||
</n-icon>
|
||||
</template>
|
||||
</n-button>
|
||||
<n-space>
|
||||
<n-space :wrap="false">
|
||||
<!-- 模块展示按钮 -->
|
||||
<n-tooltip v-for="item in btnList" :key="item.key" placement="bottom" trigger="hover">
|
||||
<template #trigger>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<n-space class="go-mt-0">
|
||||
<n-space class="go-mt-0" :wrap="false">
|
||||
<n-button v-for="item in comBtnList" :key="item.title" :type="item.type" ghost @click="item.event">
|
||||
<template #icon>
|
||||
<component :is="item.icon"></component>
|
||||
|
Loading…
Reference in New Issue
Block a user