fix (接口自动化): 修复场景变量多次打开累积问题
This commit is contained in:
parent
245af574e0
commit
0d60c65b94
|
@ -17,7 +17,7 @@
|
|||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<ms-variable-list ref="scenarioParameters"/>
|
||||
<ms-variable-list ref="scenarioParameters" @setVariables="setVariables"/>
|
||||
<ms-add-basis-api :currentProtocol="currentProtocol" ref="api"/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -64,6 +64,9 @@ export default {
|
|||
break;
|
||||
}
|
||||
},
|
||||
setVariables(v,h){
|
||||
this.data.variables = v;
|
||||
},
|
||||
getScenario() {
|
||||
this.result = this.$get("/api/automation/getApiScenario/" + this.data.id, response => {
|
||||
if (response.data) {
|
||||
|
|
Loading…
Reference in New Issue