Commit 6262cb00 by weix

修改bug

parent 4f10ff57
......@@ -28,7 +28,7 @@ export default {
await this.$store.dispatch('user/PlatformCode')
await this.mustFun();
/** 测试环境需要解注 */
// await this.getEnvironment();
await this.getEnvironment();
},
mounted () {
console.log(process.env.VUE_APP_BASE_API5)
......@@ -143,4 +143,9 @@ export default {
margin-bottom: 0;
}
}
.pagination {
margin-top: 16px;
text-align: right;
}
</style>
......@@ -147,6 +147,17 @@
</template>
</el-table-column>
</el-table>
<div class="pagination" v-if="total > 10">
<el-pagination
background
layout="prev, pager, next, jumper, total"
:current-page="page"
@current-change="current_change"
:total="total"
>
</el-pagination>
</div>
</el-card>
</template>
......@@ -196,6 +207,10 @@ export default {
await this.getAllData();
},
methods: {
current_change(page) {
this.page = page;
this.getAllData();
},
delRow(row) {
this.$confirm('是否删除', "提示", {
confirmButtonText: "确定",
......@@ -262,7 +277,7 @@ export default {
val = Number(val);
switch (val) {
case 1:
return "无跳转"
return "跳转链接"
case 2:
return "不跳转"
case 3:
......
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