fix: 脑图优先级显示错误
This commit is contained in:
parent
254aa4e63d
commit
4e10b2eec7
|
@ -4,6 +4,7 @@
|
|||
:tree-nodes="treeNodes"
|
||||
:data-map="dataMap"
|
||||
:tags="tags"
|
||||
:distinct-tags="tags"
|
||||
@save="save"
|
||||
/>
|
||||
</template>
|
||||
|
@ -83,7 +84,7 @@ name: "TestCaseMinder",
|
|||
type: data.type ? data.type : 'functional',
|
||||
method: data.method ? data.method: 'manual',
|
||||
maintainer: data.maintainer,
|
||||
priority: 'P' + (data.priority ? data.priority : 0),
|
||||
priority: 'P' + (data.priority ? data.priority - 1 : 0),
|
||||
};
|
||||
if (data.changed) isChange = true;
|
||||
let steps = [];
|
||||
|
|
|
@ -10,7 +10,7 @@ export function getTestCaseDataMap(testCase, isDisable, setParamCallback) {
|
|||
data: {
|
||||
id: item.id,
|
||||
text: item.name,
|
||||
priority: Number.parseInt(item.priority.substring(item.priority.length - 1 )),
|
||||
priority: Number.parseInt(item.priority.substring(item.priority.length - 1 )) + 1,
|
||||
resource: ["用例"],
|
||||
type: item.type,
|
||||
method: item.method,
|
||||
|
|
Loading…
Reference in New Issue