footer.vue
601 Bytes
<template>
<div :class="wrapClasses"><slot></slot></div>
</template>
<script>
const prefixCls = 'ivu-layout';
export default {
name: 'Footer',
props: {
className: {
type: String,
default: ''
}
},
data () {
return {
prefixCls: prefixCls
};
},
computed: {
wrapClasses () {
return [
`${prefixCls}-footer`,
this.className
];
}
}
};
</script>