李志伟 3 년 전
부모
커밋
7fc8ecde92
3개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      src/components/Question/index.vue
  2. 1
    0
      src/views/gameManage/edit.vue
  3. 1
    1
      src/views/gameManage/index.vue

+ 1
- 1
src/components/Question/index.vue 파일 보기

@@ -48,7 +48,7 @@
48 48
       </el-table-column>
49 49
     </el-table>
50 50
     <el-pagination
51
-      v-if="questionTotal!==0"
51
+      v-show="questionTotal!==0"
52 52
       style="float:right; margin:20px 0"
53 53
       :total="questionTotal"
54 54
       :current-page="currentPage"

+ 1
- 0
src/views/gameManage/edit.vue 파일 보기

@@ -115,6 +115,7 @@ export default {
115 115
   },
116 116
   watch: {
117 117
     '$route.query.id'(val) {
118
+      // immediate: true
118 119
       this.gameId = val
119 120
       getGameDetail(val).then((res) => {
120 121
         this.gameForm = res.data

+ 1
- 1
src/views/gameManage/index.vue 파일 보기

@@ -49,7 +49,7 @@
49 49
       </el-table-column>
50 50
     </el-table>
51 51
     <el-pagination
52
-      v-if="gameTotal!==0"
52
+      v-show="gameTotal!==0"
53 53
       style="float:right; margin:20px 0"
54 54
       :total="gameTotal"
55 55
       :current-page="currentPage"