Commit 60a1d3c6 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化

parent 2cf14a46
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
if (row.tag) { if (row.tag) {
return row.tag.split(",").map((v) => { return row.tag.split(",").map((v) => {
return ( return (
<el-tag type="info" class="mr-2"> <el-tag type="info" size="small" class="mr-2">
{v} {v}
</el-tag> </el-tag>
); );
...@@ -186,11 +186,13 @@ export default { ...@@ -186,11 +186,13 @@ export default {
methods: { methods: {
// 获取接入区域列表 // 获取接入区域列表
async getAccessList() { async getAccessList() {
this.loading = true;
let res = await getAccessList({ let res = await getAccessList({
page: this.current, page: this.current,
size: this.size, size: this.size,
areaName: `%${this.searchForm.areaName}%`, areaName: `%${this.searchForm.areaName}%`,
}); });
this.loading = false;
if (res.data.code == 1) { if (res.data.code == 1) {
let { data, total, dict } = res.data.data; let { data, total, dict } = res.data.data;
if (!data.length && this.current > 1) { if (!data.length && this.current > 1) {
......
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