Procházet zdrojové kódy

排行榜分页修改

lidongze před 2 roky
rodič
revize
ad714a755b
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      src/main/vue/src/views/MetaRankDetailList.vue

+ 3 - 3
src/main/vue/src/views/MetaRankDetailList.vue

@@ -12,7 +12,7 @@
             </el-button>
         </page-title>
         <div class="filters-container">
-            <template v-if="this.$route.query && this.$route.query.id === '2'">
+            <template v-if="this.$route.query && this.id === '2'">
                 <el-select v-model="type" placeholder="请gameBox选择类型" @change="getData">
                     <el-option
                         v-for="item in gameBoxTypes"
@@ -49,8 +49,8 @@
             </el-table-column>
             <el-table-column prop="nickName" label="用户昵称"> </el-table-column>
             <el-table-column prop="phone" label="手机号"> </el-table-column>
-            <el-table-column prop="remark" label="金币数量" v-if="this.$route.query.id == 1"> </el-table-column>
-            <el-table-column prop="remark" label="最高积分" v-if="this.$route.query.id == 2"> </el-table-column>
+            <el-table-column prop="remark" label="金币数量" v-if="this.id == 1"> </el-table-column>
+            <el-table-column prop="remark" label="最高积分" v-if="this.id == 2"> </el-table-column>
         </el-table>
         <div class="pagination-wrapper">
             <el-pagination