fix(接口定义): 修复场景列表跳转引用场景,无法跳到编辑页面的缺陷

--bug=1017881 --user=王孝刚 【接口测试】接口自动化场景引用跳转无法跳转到场景内
https://www.tapd.cn/55049933/s/1259686
This commit is contained in:
wxg0103 2022-10-12 16:35:48 +08:00 committed by wxg0103
parent c3488579d8
commit 509f0f8a7f
2 changed files with 3 additions and 7 deletions

View File

@ -110,11 +110,7 @@
<script>
import {
getCurrentProjectID,
getCurrentUser,
getCurrentWorkspaceId
} from "metersphere-frontend/src/utils/token";
import {getCurrentProjectID, getCurrentUser, getCurrentWorkspaceId} from "metersphere-frontend/src/utils/token";
import {getUUID} from "metersphere-frontend/src/utils";
import {hasPermission} from "metersphere-frontend/src/utils/permission";
import {PROJECT_ID, WORKSPACE_ID} from "metersphere-frontend/src/utils/constants";
@ -734,7 +730,7 @@ export default {
},
gotoTurn(resource, workspaceId, isTurnSpace) {
let automationData = this.$router.resolve({
name: 'ApiAutomation',
name: 'ApiAutomationWithQuery',
params: {
redirectID: getUUID(),
dataType: "scenario",

View File

@ -83,7 +83,7 @@ export default {
},
gotoTurn(resource, workspaceId, isTurnSpace) {
let automationData = this.$router.resolve({
name: 'ApiAutomation',
name: 'ApiAutomationWithQuery',
params: {
redirectID: getUUID(),
dataType: "scenario",