@@ -1,5 +1,5 @@
<template>
- <div class="m-container">
+ <div :class="{'m-container': type === 'DEFAULT'}">
<h2 v-if="type === 'DEFAULT'">
<el-page-header @back="onCancel" :content="detailName"></el-page-header>
</h2>
@@ -77,7 +77,7 @@ export default {
props: {
type: {
type: String,
- default: ''
+ default: 'DEFAULT'
},
components: {