refactor(工作台): 功能用例跳转新开标签页

--bug=1021883 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001021883
This commit is contained in:
guoyuqi 2023-01-11 15:32:02 +08:00 committed by xiaomeinvG
parent e15930c08b
commit 4f3c876861
1 changed files with 4 additions and 3 deletions

View File

@ -654,12 +654,13 @@ export default {
this.initTableData(); this.initTableData();
}, },
handleEdit(testCase, column) { handleEdit(testCase, column) {
this.$router.push({ let caseResolve = this.$router.resolve({
path: '/track/case/edit', path: '/track/case/edit',
query:{ query: {
caseId:testCase.id, caseId: testCase.id,
}, },
}); });
window.open(caseResolve.href, '_blank');
}, },
refresh() { refresh() {
this.$refs.table.clear(); this.$refs.table.clear();