Commit 85258045 by huaying

fix: dd

parent f7b804e0
......@@ -360,9 +360,10 @@ export default {
};
},
created() {
this.searchGroup();
if (!this.$route.meta.keepAlive) {
this.getTableList();
this.searchGroup();
}
},
activated() {
......
......@@ -99,7 +99,9 @@ export default {
};
},
created() {
this.searchGroup();
if (!this.$route.meta.refresh) {
this.searchGroup();
}
},
activated() {
if (this.$route.meta.refresh) {
......
......@@ -48,8 +48,8 @@
</template>
</el-table-column>
</el-table>
<div class="block common-wrap__page text-right m-t-24" v-if="tableData && tableData.length > 0">
<dm-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="pageParam.pageNo" :page-sizes="[20, 40, 60, 80]" :page-size="pageParam.pageSize" layout="total, sizes, prev, pager, next, jumper" :total="totalCount"> </dm-pagination>
<div class="block common-wrap__page text-right m-t-24" v-if="totalCount > 0">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="pageParam.pageNo" :page-sizes="[20, 40, 60, 80]" :page-size.sync="pageParam.pageSize" layout="total, sizes, prev, pager, next, jumper" :total="totalCount"> </el-pagination>
</div>
</div>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment