wip: example demo developing

This commit is contained in:
陈凯龙
2022-02-11 17:17:29 +08:00
parent 7ad46f828d
commit ef35bde801
13 changed files with 425 additions and 12 deletions

View File

@@ -112,7 +112,7 @@ const setVisible = () => {
<Icon icon="ep:refresh-right" class="mr-5px" />
{{ t('common.reset') }}
</ElButton>
<ElButton v-if="showReset" type="text" @click="setVisible">
<ElButton v-if="expand" type="text" @click="setVisible">
{{ t(visible ? 'common.shrink' : 'common.expand') }}
<Icon :icon="visible ? 'ant-design:up-outlined' : 'ant-design:down-outlined'" />
</ElButton>
@@ -130,7 +130,7 @@ const setVisible = () => {
<Icon icon="ep:refresh-right" class="mr-5px" />
{{ t('common.reset') }}
</ElButton>
<ElButton v-if="showReset" type="text" @click="setVisible">
<ElButton v-if="expand" type="text" @click="setVisible">
{{ t(visible ? 'common.shrink' : 'common.expand') }}
<Icon :icon="visible ? 'ant-design:up-outlined' : 'ant-design:down-outlined'" />
</ElButton>