wolyshaw 4 년 전
부모
커밋
036e46b89b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/photo-detail/index.vue

+ 2 - 2
src/views/photo-detail/index.vue

@@ -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: {