浏览代码

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
         }