|
@@ -77,7 +77,8 @@ import {
|
|
|
addOrEditIpAccountInterfaceRef,
|
|
addOrEditIpAccountInterfaceRef,
|
|
|
generateIpAccountToken,
|
|
generateIpAccountToken,
|
|
|
getIpAccountInterfaceList,
|
|
getIpAccountInterfaceList,
|
|
|
- getIpInterfaceOptionList
|
|
|
|
|
|
|
+ getIpInterfaceOptionList,
|
|
|
|
|
+ delAccountInterface
|
|
|
} from "@/api/system/ipInterface";
|
|
} from "@/api/system/ipInterface";
|
|
|
import { isString } from "@pureadmin/utils";
|
|
import { isString } from "@pureadmin/utils";
|
|
|
import { useRoute } from "vue-router";
|
|
import { useRoute } from "vue-router";
|
|
@@ -539,7 +540,7 @@ buttons.value = [
|
|
|
},
|
|
},
|
|
|
onConfirm: async params => {
|
|
onConfirm: async params => {
|
|
|
try {
|
|
try {
|
|
|
- let res = await deleteIpAccount(params.row.id);
|
|
|
|
|
|
|
+ let res = await delAccountInterface(params.row.id);
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
ElMessage.success("删除成功");
|
|
ElMessage.success("删除成功");
|
|
|
refresh();
|
|
refresh();
|