fix: showCollapseButton: false,

This commit is contained in:
liangqing xia 2024-10-25 22:11:36 +08:00
parent 49e689a5bb
commit b91a084ffd
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export const GhostButton = defineComponent({
return () => return () =>
h( h(
Button, Button,
{ ...props, ...attrs, type: 'primary', ghost: true, size: 'small' }, { ...props, ...attrs, type: 'link', ghost: true, size: 'small' },
slots, slots,
); );
}, },

View File

@ -167,7 +167,6 @@ const isAdmin = computed(() => {
<!-- '按钮类型'无法再添加子菜单 --> <!-- '按钮类型'无法再添加子菜单 -->
<ghost-button <ghost-button
v-if="row.menuType !== 'F'" v-if="row.menuType !== 'F'"
class="btn-add"
v-access:code="['system:menu:add']" v-access:code="['system:menu:add']"
@click="handleSubAdd(row)" @click="handleSubAdd(row)"
> >