소스 검색

mook优化

qinzhipeng_v 5 년 전
부모
커밋
38a2a43287
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 2
      src/views/mock/httpmock.vue
  2. 1 1
      src/views/mock/interface.vue

+ 1 - 2
src/views/mock/httpmock.vue

@@ -533,9 +533,8 @@ export default {
       }))
     },
     redirectTo(id, mehtodName, methodProtocol) {
-      console.log(methodProtocol)
       this.$router.push({
-        path: `/mock/httpmock/${id}`, query: { mehtodName: mehtodName, methodProtocol: methodProtocol }
+        path: `/views/mock/httpmock/${id}`, query: { mehtodName: mehtodName, methodProtocol: methodProtocol }
       })
     },
     showTrueUrl() {

+ 1 - 1
src/views/mock/interface.vue

@@ -746,7 +746,7 @@ export default {
     },
     redirectTo(id, methodName) {
       this.$router.push({
-        path: `/mock/interface/${id}`,
+        path: `/views/mock/interface/${id}`,
         query: {
           methodName: methodName
         }