优化
This commit is contained in:
@@ -13,6 +13,14 @@ const props = defineProps({
|
||||
showPadding: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
headerGhost: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
headerPadding: {
|
||||
type: String,
|
||||
default: undefined
|
||||
}
|
||||
})
|
||||
|
||||
@@ -30,6 +38,8 @@ const handleBack = () => {
|
||||
<div v-if="$slots.header || showBack" class="full-width-layout__header-wrapper">
|
||||
<LayoutHeader
|
||||
:show-back="showBack"
|
||||
:ghost="headerGhost"
|
||||
:padding="headerPadding"
|
||||
@back="handleBack"
|
||||
>
|
||||
<template #header v-if="$slots.header">
|
||||
|
||||
Reference in New Issue
Block a user