This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch refactor-with-go
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


The following commit(s) were added to refs/heads/refactor-with-go by this push:
     new ad60161c feat: Routing rules page, add a jump link to the official 
website description and initialize some pages (#1137)
ad60161c is described below

commit ad60161c82294f168e2ed540a0281e20822bac75
Author: SDUWYS <[email protected]>
AuthorDate: Wed May 24 09:47:14 2023 +0800

    feat: Routing rules page, add a jump link to the official website 
description and initialize some pages (#1137)
---
 .../src/components/governance/AccessControl.vue    |   6 +-
 .../src/components/governance/LoadBalance.vue      |   4 --
 .../src/components/governance/MeshRule.vue         |   6 --
 .../src/components/governance/Overrides.vue        |   3 +
 .../src/components/governance/RoutingRule.vue      |   5 +-
 .../src/components/governance/TagRule.vue          |   5 +-
 .../src/components/governance/WeightAdjust.vue     |   4 --
 .../src/components/public/assets/link.png          | Bin 0 -> 5096 bytes
 .../src/components/traffic/Accesslog.vue           |  44 ++++++++++++
 .../src/components/traffic/Arguments.vue           |  44 ++++++++++++
 dubbo-admin-ui/src/components/traffic/Host.vue     |  44 ++++++++++++
 .../src/components/traffic/Isolation.vue           |  44 ++++++++++++
 dubbo-admin-ui/src/components/traffic/Mock.vue     |  44 ++++++++++++
 dubbo-admin-ui/src/components/traffic/Region.vue   |  44 ++++++++++++
 dubbo-admin-ui/src/components/traffic/Retry.vue    |  44 ++++++++++++
 dubbo-admin-ui/src/components/traffic/Timeout.vue  |  44 ++++++++++++
 dubbo-admin-ui/src/components/traffic/Weight.vue   |  44 ++++++++++++
 dubbo-admin-ui/src/mock/mockServer.js              |   2 +
 dubbo-admin-ui/src/router/index.js                 |  74 +++++++++++++++++++++
 19 files changed, 482 insertions(+), 23 deletions(-)

diff --git a/dubbo-admin-ui/src/components/governance/AccessControl.vue 
b/dubbo-admin-ui/src/components/governance/AccessControl.vue
index f8070417..b4d91d2c 100644
--- a/dubbo-admin-ui/src/components/governance/AccessControl.vue
+++ b/dubbo-admin-ui/src/components/governance/AccessControl.vue
@@ -265,8 +265,6 @@
 </template>
 
 <script>
-import AceEditor from '@/components/public/AceEditor'
-import Search from '@/components/public/Search'
 import Breadcrumb from '@/components/public/Breadcrumb'
 
 export default {
@@ -621,9 +619,7 @@ export default {
     }
   },
   components: {
-    Breadcrumb,
-    AceEditor,
-    Search
+    Breadcrumb
   }
 }
 </script>
diff --git a/dubbo-admin-ui/src/components/governance/LoadBalance.vue 
b/dubbo-admin-ui/src/components/governance/LoadBalance.vue
index 5f4a95b2..b76960d5 100644
--- a/dubbo-admin-ui/src/components/governance/LoadBalance.vue
+++ b/dubbo-admin-ui/src/components/governance/LoadBalance.vue
@@ -215,14 +215,10 @@
 
 </template>
 <script>
-import AceEditor from '@/components/public/AceEditor'
-import Search from '@/components/public/Search'
 import Breadcrumb from '@/components/public/Breadcrumb'
 
 export default {
   components: {
-    AceEditor,
-    Search,
     Breadcrumb
   },
   data: () => ({
diff --git a/dubbo-admin-ui/src/components/governance/MeshRule.vue 
b/dubbo-admin-ui/src/components/governance/MeshRule.vue
index 5b949dbc..5f1d6d16 100644
--- a/dubbo-admin-ui/src/components/governance/MeshRule.vue
+++ b/dubbo-admin-ui/src/components/governance/MeshRule.vue
@@ -137,15 +137,11 @@
 
 </template>
 <script>
-import AceEditor from '@/components/public/AceEditor'
 import operations from '@/api/operation'
-import Search from '@/components/public/Search'
 import Breadcrumb from '@/components/public/Breadcrumb'
 
 export default {
   components: {
-    AceEditor,
-    Search,
     Breadcrumb
   },
   data: () => ({
@@ -342,8 +338,6 @@ export default {
             })
           break
         case 'edit':
-          const id = {}
-          id.id = itemId
           this.$axios.get('/rules/route/mesh/' + itemId)
             .then(response => {
               const meshRoute = response.data
diff --git a/dubbo-admin-ui/src/components/governance/Overrides.vue 
b/dubbo-admin-ui/src/components/governance/Overrides.vue
index 95a46985..04c86fb2 100644
--- a/dubbo-admin-ui/src/components/governance/Overrides.vue
+++ b/dubbo-admin-ui/src/components/governance/Overrides.vue
@@ -19,6 +19,9 @@
     <v-layout row wrap>
       <v-flex lg12>
         <breadcrumb title="dynamicConfig" :items="breads"></breadcrumb>
+        <v-flex lg12>
+      <a  
href="https://cn.dubbo.apache.org/zh-cn/overview/core-features/traffic/configuration-rule/";>动态配置规则</a>
+    </v-flex>
       </v-flex>
       <v-flex lg12>
         <v-card flat color="transparent">
diff --git a/dubbo-admin-ui/src/components/governance/RoutingRule.vue 
b/dubbo-admin-ui/src/components/governance/RoutingRule.vue
index 7e5476b0..d68ef8b9 100644
--- a/dubbo-admin-ui/src/components/governance/RoutingRule.vue
+++ b/dubbo-admin-ui/src/components/governance/RoutingRule.vue
@@ -20,6 +20,9 @@
     <v-layout row wrap>
       <v-flex lg12>
         <breadcrumb title="routingRule" :items="breads"></breadcrumb>
+        <v-flex lg12>
+      <a 
href="https://cn.dubbo.apache.org/zh-cn/overview/core-features/traffic/condition-rule/";>条件路由规则</a>
+    </v-flex>
       </v-flex>
       <v-flex lg12>
         <v-card flat color="transparent">
@@ -198,13 +201,11 @@
 </template>
 <script>
 import yaml from 'js-yaml'
-import AceEditor from '@/components/public/AceEditor'
 import operations from '@/api/operation'
 import Breadcrumb from '@/components/public/Breadcrumb'
 
 export default {
   components: {
-    AceEditor,
     Breadcrumb
   },
   data: () => ({
diff --git a/dubbo-admin-ui/src/components/governance/TagRule.vue 
b/dubbo-admin-ui/src/components/governance/TagRule.vue
index c4020394..7b1284c4 100644
--- a/dubbo-admin-ui/src/components/governance/TagRule.vue
+++ b/dubbo-admin-ui/src/components/governance/TagRule.vue
@@ -20,6 +20,9 @@
       <v-flex lg12>
         <breadcrumb title="tagRule" :items="breads"></breadcrumb>
       </v-flex>
+      <v-flex lg12>
+      <a 
href="https://cn.dubbo.apache.org/zh-cn/overview/core-features/traffic/tag-rule/";>标签路由规则</a>
+    </v-flex>
     </v-layout>
     <v-flex lg12>
       <v-card flat color="transparent">
@@ -118,13 +121,11 @@
 </template>
 <script>
 import yaml from 'js-yaml'
-import AceEditor from '@/components/public/AceEditor'
 import operations from '@/api/operation'
 import Breadcrumb from '@/components/public/Breadcrumb'
 
 export default {
   components: {
-    AceEditor,
     Breadcrumb
   },
   data: () => ({
diff --git a/dubbo-admin-ui/src/components/governance/WeightAdjust.vue 
b/dubbo-admin-ui/src/components/governance/WeightAdjust.vue
index 8a17c25e..b43b8657 100644
--- a/dubbo-admin-ui/src/components/governance/WeightAdjust.vue
+++ b/dubbo-admin-ui/src/components/governance/WeightAdjust.vue
@@ -212,14 +212,10 @@
 </template>
 
 <script>
-import AceEditor from '@/components/public/AceEditor'
-import Search from '@/components/public/Search'
 import Breadcrumb from '@/components/public/Breadcrumb'
 
 export default {
   components: {
-    AceEditor,
-    Search,
     Breadcrumb
   },
   data: () => ({
diff --git a/dubbo-admin-ui/src/components/public/assets/link.png 
b/dubbo-admin-ui/src/components/public/assets/link.png
new file mode 100644
index 00000000..4d0f0379
Binary files /dev/null and 
b/dubbo-admin-ui/src/components/public/assets/link.png differ
diff --git a/dubbo-admin-ui/src/components/traffic/Accesslog.vue 
b/dubbo-admin-ui/src/components/traffic/Accesslog.vue
new file mode 100644
index 00000000..d126d163
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Accesslog.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficAccesslog" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficAccesslog',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/components/traffic/Arguments.vue 
b/dubbo-admin-ui/src/components/traffic/Arguments.vue
new file mode 100644
index 00000000..e060d2b0
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Arguments.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficArguments" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficArguments',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/components/traffic/Host.vue 
b/dubbo-admin-ui/src/components/traffic/Host.vue
new file mode 100644
index 00000000..7427efe9
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Host.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficHost" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficHost',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/components/traffic/Isolation.vue 
b/dubbo-admin-ui/src/components/traffic/Isolation.vue
new file mode 100644
index 00000000..f276b42f
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Isolation.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficIsolation" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficIsolation',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/components/traffic/Mock.vue 
b/dubbo-admin-ui/src/components/traffic/Mock.vue
new file mode 100644
index 00000000..b4cc47b3
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Mock.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficMock" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficMock',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/components/traffic/Region.vue 
b/dubbo-admin-ui/src/components/traffic/Region.vue
new file mode 100644
index 00000000..7bf50d97
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Region.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficRegion" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficRegion',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/components/traffic/Retry.vue 
b/dubbo-admin-ui/src/components/traffic/Retry.vue
new file mode 100644
index 00000000..caea8ae0
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Retry.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficRetry" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficRetry',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/components/traffic/Timeout.vue 
b/dubbo-admin-ui/src/components/traffic/Timeout.vue
new file mode 100644
index 00000000..7f77f111
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Timeout.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficTimeout" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficTimeout',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/components/traffic/Weight.vue 
b/dubbo-admin-ui/src/components/traffic/Weight.vue
new file mode 100644
index 00000000..87e25d0f
--- /dev/null
+++ b/dubbo-admin-ui/src/components/traffic/Weight.vue
@@ -0,0 +1,44 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+-->
+<template>
+    <v-container grid-list-xl fluid>
+        <v-layout row wrap>
+            <v-flex lg12>
+        <Breadcrumb title="trafficWeight" :items="breads"></breadcrumb>
+      </v-flex>
+        </v-layout>
+    </v-container>
+</template>
+<script>
+import Breadcrumb from '../public/Breadcrumb.vue'
+export default {
+  name: 'Accesslog',
+  components: { Breadcrumb },
+  data: () => ({
+    breads: [
+      {
+        text: 'trafficManagement',
+        href: ''
+      },
+      {
+        text: 'trafficWeight',
+        href: ''
+      }
+    ]
+  })
+}
+</script>
diff --git a/dubbo-admin-ui/src/mock/mockServer.js 
b/dubbo-admin-ui/src/mock/mockServer.js
index 561cd404..762273cb 100644
--- a/dubbo-admin-ui/src/mock/mockServer.js
+++ b/dubbo-admin-ui/src/mock/mockServer.js
@@ -1,3 +1,4 @@
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -14,6 +15,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 // 1、引入mockjs
 const Mock = require('mockjs')
 
diff --git a/dubbo-admin-ui/src/router/index.js 
b/dubbo-admin-ui/src/router/index.js
index 4f4ae727..4555617a 100644
--- a/dubbo-admin-ui/src/router/index.js
+++ b/dubbo-admin-ui/src/router/index.js
@@ -33,6 +33,15 @@ import ServiceMock from '@/components/test/ServiceMock'
 import ServiceMetrics from '@/components/metrics/ServiceMetrics'
 import ServiceRelation from '@/components/metrics/ServiceRelation'
 import Management from '@/components/Management'
+import Accesslog from '@/components/traffic/Accesslog'
+import Arguments from '@/components/traffic/Arguments'
+import Host from '@/components/traffic/Host'
+import Isolation from '@/components/traffic/Isolation'
+import Mock from '@/components/traffic/Mock'
+import Region from '@/components/traffic/Region'
+import Retry from '@/components/traffic/Retry'
+import Timeout from '@/components/traffic/Timeout'
+import Weight from '@/components/traffic/Weight'
 import Index from '@/Index'
 import Login from '@/Login'
 
@@ -180,6 +189,71 @@ export default new Router({
           meta: {
             requireLogin: true
           }
+        },
+        {
+          path: '/traffic/accesslog',
+          name: 'accesslog',
+          component: Accesslog,
+          meta: {
+            requireLogin: true
+          }
+        },
+        {
+          path: '/traffic/retry',
+          name: 'retry',
+          component: Retry,
+          meta: {
+            requireLogin: true
+          }
+        }, {
+          path: '/traffic/region',
+          name: 'region',
+          component: Region,
+          meta: {
+            requireLogin: true
+          }
+        }, {
+          path: '/traffic/isolation',
+          name: 'isolation',
+          component: Isolation,
+          meta: {
+            requireLogin: true
+          }
+        }, {
+          path: '/traffic/weight',
+          name: 'weight',
+          component: Weight,
+          meta: {
+            requireLogin: true
+          }
+        }, {
+          path: '/traffic/arguments',
+          name: 'arguments',
+          component: Arguments,
+          meta: {
+            requireLogin: true
+          }
+        }, {
+          path: '/traffic/mock',
+          name: 'mock',
+          component: Mock,
+          meta: {
+            requireLogin: true
+          }
+        }, {
+          path: '/traffic/host',
+          name: 'host',
+          component: Host,
+          meta: {
+            requireLogin: true
+          }
+        }, {
+          path: '/traffic/timeout',
+          name: 'timeout',
+          component: Timeout,
+          meta: {
+            requireLogin: true
+          }
         }]
     }, {
       path: '/login',

Reply via email to