diff --git a/src/router/index.js b/src/router/index.js index a773603..42d6bde 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -68,9 +68,9 @@ const routes = [ } }, { - path: '/userConfig', - name: 'userConfig', - component: () => import('../views/UserConfig.vue'), + path: '/customerConfig', + name: 'customerConfig', + component: () => import('../views/CustomerConfig.vue'), beforeEnter: (to, from, next) => { // 从store中获取凭据 const credentials = store.getters.credentials diff --git a/src/views/AdminDashBoard.vue b/src/views/AdminDashBoard.vue index a33a1c7..b59659f 100644 --- a/src/views/AdminDashBoard.vue +++ b/src/views/AdminDashBoard.vue @@ -423,7 +423,7 @@ methods: { this.$router.push('/'); }, handleGoToAdmin() { - this.$router.push('/userConfig'); + this.$router.push('/customerConfig'); }, handleCopy(index, key) { const text = `${document.location.origin}/file/${key}`; @@ -800,4 +800,8 @@ mounted() { word-break: break-all; word-wrap: break-word; } + +:focus-visible { + outline: none; +} diff --git a/src/views/UserConfig.vue b/src/views/CustomerConfig.vue similarity index 99% rename from src/views/UserConfig.vue rename to src/views/CustomerConfig.vue index ca6cf08..5698792 100644 --- a/src/views/UserConfig.vue +++ b/src/views/CustomerConfig.vue @@ -29,7 +29,7 @@ import { mapGetters } from 'vuex'; export default { - name: 'UserConfig', + name: 'CustomerConfig', data() { return { tableData: [],