Skip to content

Commit

Permalink
优化移动端文件详情显示样式
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSeventh committed Sep 29, 2024
1 parent 08dd2b2 commit 4f1664d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion src/views/AdminDashBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down Expand Up @@ -800,4 +800,8 @@ mounted() {
word-break: break-all;
word-wrap: break-word;
}
:focus-visible {
outline: none;
}
</style>
2 changes: 1 addition & 1 deletion src/views/UserConfig.vue → src/views/CustomerConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import { mapGetters } from 'vuex';
export default {
name: 'UserConfig',
name: 'CustomerConfig',
data() {
return {
tableData: [],
Expand Down

0 comments on commit 4f1664d

Please sign in to comment.