fix(测试跟踪): 复制用例库用例提示有误

--bug=1023407 --user=陈建星 【测试跟踪】功能用例-公共用例库列表-操作-复制/批量复制-弹框提示信息错误 https://www.tapd.cn/55049933/s/1338343
This commit is contained in:
chenjianxing 2023-02-20 15:08:42 +08:00 committed by jianxing
parent 0ac2b73ecf
commit eea9216a33
1 changed files with 2 additions and 2 deletions

View File

@ -524,7 +524,7 @@ export default {
},
handleCopyPublic(testCase) {
this.$refs.table.selectIds.push(testCase.id);
this.$refs.testBatchMove.open(false, testCase.name, this.treeNodes, this.$refs.table.selectIds, this.moduleOptions);
this.$refs.testBatchMove.open(false, testCase.name, this.treeNodes, 1, this.$refs.table.selectIds, this.moduleOptions);
},
refresh() {
this.$refs.table.clear();
@ -556,7 +556,7 @@ export default {
},
handleBatchCopy() {
let firstSelectRow = this.$refs.table.selectRows.values().next().value;
this.$refs.testBatchMove.open(false, firstSelectRow.name, this.treeNodes, this.$refs.table.selectIds, this.moduleOptions);
this.$refs.testBatchMove.open(false, firstSelectRow.name, this.treeNodes, this.$refs.table.selectIds.length, this.$refs.table.selectIds, this.moduleOptions);
},
copyPublic(param) {
param.condition = this.condition;