feat(Component): Setting component add copy button

This commit is contained in:
陈凯龙
2022-01-21 17:16:56 +08:00
parent ff4dd3afbf
commit e496096539
9 changed files with 142 additions and 20 deletions

View File

@@ -10,6 +10,8 @@ import { ElScrollbar } from 'element-plus'
const appStore = useAppStore()
const pageLoading = computed(() => appStore.getPageLoading)
// 标签页
const tagsView = computed(() => appStore.getTagsView)
@@ -60,6 +62,7 @@ export const useRenderLayout = () => {
style="transition: all var(--transition-time-02);"
>
<ElScrollbar
v-loading={pageLoading.value}
class={[
'v-content',
{
@@ -119,6 +122,7 @@ export const useRenderLayout = () => {
style="transition: all var(--transition-time-02);"
>
<ElScrollbar
v-loading={pageLoading.value}
class={[
'v-content',
{
@@ -161,6 +165,7 @@ export const useRenderLayout = () => {
</div>
<div class="v-app-right h-full w-full">
<ElScrollbar
v-loading={pageLoading.value}
class={[
'v-content',
{
@@ -212,6 +217,7 @@ export const useRenderLayout = () => {
style="transition: all var(--transition-time-02);"
>
<ElScrollbar
v-loading={pageLoading.value}
class={[
'v-content',
{
@@ -232,7 +238,7 @@ export const useRenderLayout = () => {
!collapse.value && fixedHeader.value
}
]}
style="transition: all var(--transition-time-02);"
style="transition: width var(--transition-time-02), left var(--transition-time-02);"
></TagsView>
) : undefined}