mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
增加logo显示
This commit is contained in:
parent
30ef40c9e1
commit
112e98fe68
@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div style="margin: -24px -24px 0px">
|
||||
<page-header :breadcrumb="breadcrumb" :title="title" :logo="avatar">
|
||||
<page-header :breadcrumb="breadcrumb" :title="title" :logo="logo" :avatar="avatar">
|
||||
<slot name="action" slot="action"></slot>
|
||||
<slot slot="content" name="headerContent"></slot>
|
||||
<div slot="content" v-if="!this.$slots.headerContent && desc">
|
||||
<p style="font-size: 14px;line-height: 1.5;color: rgba(0,0,0,.65)">{{desc}}</p>
|
||||
@ -24,7 +25,7 @@ import AIcon from 'vue-antd-ui/es/icon/icon'
|
||||
export default {
|
||||
name: 'PageLayout',
|
||||
components: {AIcon, PageHeader},
|
||||
props: ['desc', 'title', 'avatar', 'linkList', 'extraImage'],
|
||||
props: ['desc', 'logo', 'title', 'avatar', 'linkList', 'extraImage'],
|
||||
data () {
|
||||
return {
|
||||
breadcrumb: []
|
||||
|
Loading…
x
Reference in New Issue
Block a user