fix(接口测试): 修复dubbo插件无法执行问题

--bug=1018955 --user=王孝刚 【接口测试】接口定义-dubbo协议-输入正确的Registry Center-Get provider list失败 https://www.tapd.cn/55049933/s/1279913
This commit is contained in:
fit2-zhao 2022-10-27 13:06:51 +08:00 committed by fit2-zhao
parent 0e80457e59
commit fe2e40c3df
2 changed files with 6 additions and 12 deletions

View File

@ -95,10 +95,12 @@
dubboProviders(param).then(response => {
this.methodMap = {};
this.interfaces = [];
response.data.data.forEach(p => {
if(response.data) {
response.data.forEach(p => {
this.providerMap[p.serviceInterface] = p;
this.interfaces.push({label: p.service, value: p.serviceInterface})
});
}
if (this.methodMap[this.request.interface]) {
this.methods = this.methodMap[this.request.interface].methods;
}

View File

@ -187,10 +187,6 @@
<artifactId>mail</artifactId>
<groupId>javax.mail</groupId>
</exclusion>
<exclusion>
<artifactId>fastjson</artifactId>
<groupId>com.alibaba</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
@ -305,10 +301,6 @@
<artifactId>ApacheJMeter_core</artifactId>
<groupId>org.apache.jmeter</groupId>
</exclusion>
<exclusion>
<artifactId>fastjson</artifactId>
<groupId>com.alibaba</groupId>
</exclusion>
</exclusions>
</dependency>
<!--随机数据生成API-->