李志伟 3 gadus atpakaļ
vecāks
revīzija
7fc8ecde92

+ 1
- 1
src/components/Question/index.vue Parādīt failu

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

+ 1
- 0
src/views/gameManage/edit.vue Parādīt failu

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

+ 1
- 1
src/views/gameManage/index.vue Parādīt failu

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