|
@@ -136,9 +136,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="limitType"
|
|
|
- width
|
|
|
label="限制类型"
|
|
|
- :formatter="formatLimitType"
|
|
|
sortable
|
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
@@ -595,16 +593,6 @@ export default {
|
|
|
this.addingIpLimitDialog = true;
|
|
|
this.showIpColumn = true;
|
|
|
},
|
|
|
- formatLimitType(row) {
|
|
|
- switch (row.limitType) {
|
|
|
- case 1:
|
|
|
- return "禁止访问";
|
|
|
- case 0:
|
|
|
- return "允许访问";
|
|
|
- default:
|
|
|
- return "";
|
|
|
- }
|
|
|
- },
|
|
|
batchDelete() {
|
|
|
this.$confirm("确定删除所选数据吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|