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"
v-model:expanded-row-keys="tableState.arrayChildExpandKeys"
>
<template #title>
<a-button
type="primary"
@click.prevent="arrayAdd"
size="small"
v-if="tab.method !== 'get'"
>
<template #title v-if="tab.method !== 'get'">
<a-button type="primary" @click.prevent="arrayAdd" size="small">
<template #icon> <PlusOutlined /> </template>
{{ t('common.addText') }}
</a-button>