|
|
@ -46,7 +46,9 @@ const Model: ModelType = { |
|
|
|
switch (title) { |
|
|
|
switch (title) { |
|
|
|
case '删除': |
|
|
|
case '删除': |
|
|
|
deleteConnection(id, (res: string) => { |
|
|
|
deleteConnection(id, (res: string) => { |
|
|
|
|
|
|
|
this.model.linkList = [...this.model.linkList.filter((item: LinkType) => item.connectionId !== id)]; |
|
|
|
|
|
|
|
this.model.linkSelected = {}; |
|
|
|
|
|
|
|
this.model.linkUpdate = {}; |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case '测试连接': |
|
|
|
case '测试连接': |
|
|
|