typo(EditApiScenario): plugnOrder -> pluginOrder (#1)

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang 2022-06-21 10:42:09 +08:00 committed by fit2-zhao
parent 0d3906d86b
commit 70ce292fff
1 changed files with 5 additions and 5 deletions

View File

@ -195,9 +195,9 @@
<span class="custom-tree-node-col" style="padding-left:0px;padding-right:0px"
v-show="node && data.hashTree && data.hashTree.length > 0 && !data.isLeaf">
<span v-show="!node.expanded" class="el-icon-circle-plus-outline custom-node_e"
@click="openOrClose(node,data)"/>
@click="openOrClose(node, data)"/>
<span v-show="node.expanded" class="el-icon-remove-outline custom-node_e"
@click="openOrClose(node,data)"/>
@click="openOrClose(node, data)"/>
</span>
<!-- 批量操作 -->
<span :class="data.checkBox? 'custom-tree-node-hide' : 'custom-tree-node-col'"
@ -678,7 +678,7 @@ export default {
node.expanded = !node.expanded;
this.pluginOrder(data);
},
plugnOrder(nodes) {
pluginOrder(nodes) {
//
if (nodes && nodes.type === 'GenericController' && nodes.hashTree) {
let data = nodes.hashTree.filter(v => v.type !== "Assertions");
@ -1322,7 +1322,7 @@ export default {
this.isBtnHide = false;
//
if (this.selectedTreeNode && this.selectedTreeNode.type === 'GenericController') {
this.plugnOrder(this.selectedTreeNode);
this.pluginOrder(this.selectedTreeNode);
} else {
this.sort();
}
@ -1383,7 +1383,7 @@ export default {
this.$refs.scenarioApiRelevance.changeButtonLoadingType();
//
if (this.selectedTreeNode && this.selectedTreeNode.type === 'GenericController') {
this.plugnOrder(this.selectedTreeNode);
this.pluginOrder(this.selectedTreeNode);
} else {
this.sort();
}