@@ -77,8 +77,10 @@
保险状态
- 否
- 是
+
+ 否
+ 是
+
diff --git a/anrui-system-ui/src/layout/components/TagsView/index.vue b/anrui-system-ui/src/layout/components/TagsView/index.vue
index 373543fa77..5c3d53e259 100644
--- a/anrui-system-ui/src/layout/components/TagsView/index.vue
+++ b/anrui-system-ui/src/layout/components/TagsView/index.vue
@@ -140,8 +140,7 @@ export default {
const { fullPath } = view
this.$nextTick(() => {
this.$router.replace({
- path: fullPath
- // path: '/redirect' + fullPath
+ path: '/redirect' + fullPath
})
})
})
diff --git a/anrui-system-ui/src/router/index.js b/anrui-system-ui/src/router/index.js
index 340fc97943..fd7a16d144 100644
--- a/anrui-system-ui/src/router/index.js
+++ b/anrui-system-ui/src/router/index.js
@@ -1,14 +1,23 @@
import Vue from 'vue'
import Router from 'vue-router'
+/* Layout */
+import Layout from '@/layout'
Vue.use(Router)
-/* Layout */
-import Layout from '@/layout'
/* 所有角色可以访问/没有权限要求的基页 */
export const constantRoutes = [
+ {
+ path: '/redirect',
+ component: Layout,
+ hidden: true,
+ children: [{
+ path: '/redirect/:path(.*)',
+ component: () => import('@/views/redirect/index.vue')
+ }]
+ },
{
path: '/',
redirect: 'login'
diff --git a/anrui-system-ui/src/views/redirect/index.vue b/anrui-system-ui/src/views/redirect/index.vue
new file mode 100644
index 0000000000..db4c1d66d1
--- /dev/null
+++ b/anrui-system-ui/src/views/redirect/index.vue
@@ -0,0 +1,12 @@
+