소스 검색

Use variable for showModal

sbkwgh 8 년 전
부모
커밋
6e67f3bb4f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/routes/Index.vue

+ 2 - 1
src/components/routes/Index.vue

@@ -1,6 +1,6 @@
 <template>
 	<div class='index'>
-		<modal-window showModal='true'></modal-window>
+		<modal-window :showModal='showModal'></modal-window>
 
 
 		<div class='thread_sorting'>
@@ -59,6 +59,7 @@
 
 			return {
 				selected: null,
+				showModal: true,
 				categories
 			}
 		}