qinzhipeng_v %!s(int64=5) %!d(string=hai) anos
pai
achega
38a2a43287
Modificáronse 2 ficheiros con 2 adicións e 3 borrados
  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
         }