fix(接口自动化): 修复另存接口协议错误问题
This commit is contained in:
parent
9a6b47051b
commit
637f0ea707
|
@ -267,6 +267,9 @@
|
|||
open(api) {
|
||||
if (api) {
|
||||
let data = JSON.parse(JSON.stringify(api));
|
||||
if (data.protocol === "dubbo://") {
|
||||
data.protocol = "DUBBO";
|
||||
}
|
||||
data.id = getUUID();
|
||||
this.httpForm = {id: data.id, name: data.name, protocol: data.protocol, path: data.path, method: api.method, userId: getCurrentUser().id, request: data};
|
||||
this.getMaintainerOptions();
|
||||
|
|
Loading…
Reference in New Issue