fix: 接口定义全选生成关系图报错
This commit is contained in:
parent
3d98527582
commit
5912500560
|
@ -40,6 +40,10 @@ public class QueryTestCaseRequest extends BaseQueryRequest {
|
||||||
private List<String> testCaseContainIds;
|
private List<String> testCaseContainIds;
|
||||||
|
|
||||||
|
|
||||||
|
// 接口定义
|
||||||
|
private String protocol;
|
||||||
|
private String apiCaseCoverage;
|
||||||
|
|
||||||
// 补充场景条件
|
// 补充场景条件
|
||||||
private String excludeId;
|
private String excludeId;
|
||||||
private String moduleId;
|
private String moduleId;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<chart
|
<chart
|
||||||
:style="{'height': chartHeight, 'width': width}"
|
:style="{'height': chartHeight, 'width': chartWidth}"
|
||||||
class="ms-chart"
|
class="ms-chart"
|
||||||
:init-options="defaultInitOptions"
|
:init-options="defaultInitOptions"
|
||||||
:option="options"
|
:option="options"
|
||||||
|
@ -46,7 +46,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
chartHeight() {
|
chartHeight() {
|
||||||
if (this.height instanceof String) {
|
if (this.height.indexOf('px') > -1 || this.height.indexOf('calc') > -1) {
|
||||||
return this.height;
|
return this.height;
|
||||||
} else {
|
} else {
|
||||||
return this.height + 'px';
|
return this.height + 'px';
|
||||||
|
@ -56,7 +56,7 @@ export default {
|
||||||
if (!this.width) {
|
if (!this.width) {
|
||||||
return this.width;
|
return this.width;
|
||||||
}
|
}
|
||||||
if (this.width instanceof String) {
|
if (this.width.indexOf('px') > -1 || this.width.indexOf('calc') > -1) {
|
||||||
return this.width;
|
return this.width;
|
||||||
} else {
|
} else {
|
||||||
return this.width + 'px';
|
return this.width + 'px';
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2a4f0b9f537a860b2ff9f660668eb1e36865cbc0
|
Subproject commit 732aba3931ede033ab986b973bbab64a321370df
|
Loading…
Reference in New Issue