Skip to content

Commit 8b20af9

Browse files
committed
modified 解决字段无法配置的BUG
1 parent 27668a5 commit 8b20af9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/view/interface/list.vue

+2-4
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ const requestButton = (vm, h, currentRow, index) => {
207207
click: () => {
208208
let hash = currentRow.hash
209209
vm.$router.push({
210-
name: 'interface_request',
211-
params: { hash: hash }
210+
path: `request/${hash}`
212211
})
213212
}
214213
}
@@ -230,8 +229,7 @@ const responseButton = (vm, h, currentRow, index) => {
230229
click: () => {
231230
let hash = currentRow.hash
232231
vm.$router.push({
233-
name: 'interface_response',
234-
params: { hash: hash }
232+
path: `response/${hash}`
235233
})
236234
}
237235
}

0 commit comments

Comments
 (0)