style: 修复页面隐藏占位

This commit is contained in:
TsMask
2023-11-08 15:59:32 +08:00
parent 98a445daae
commit 1b57794b76

View File

@@ -1236,13 +1236,8 @@ onMounted(() => {
:show-expand-column="false" :show-expand-column="false"
v-model:expanded-row-keys="tableState.arrayChildExpandKeys" v-model:expanded-row-keys="tableState.arrayChildExpandKeys"
> >
<template #title> <template #title v-if="tab.method !== 'get'">
<a-button <a-button type="primary" @click.prevent="arrayAdd" size="small">
type="primary"
@click.prevent="arrayAdd"
size="small"
v-if="tab.method !== 'get'"
>
<template #icon> <PlusOutlined /> </template> <template #icon> <PlusOutlined /> </template>
{{ t('common.addText') }} {{ t('common.addText') }}
</a-button> </a-button>