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