diff --git a/src/setting.js b/src/setting.js
index 493ce0b..de23153 100644
--- a/src/setting.js
+++ b/src/setting.js
@@ -45,7 +45,7 @@ const Setting = {
isDev,
isPro,
// 是否使用动态路由
- dynamicRoute: false,
+ dynamicRoute: true,
/**
* @description 默认密码
*/
diff --git a/src/views/match/manage/index.vue b/src/views/match/manage/index.vue
index 4108aa7..f996489 100644
--- a/src/views/match/manage/index.vue
+++ b/src/views/match/manage/index.vue
@@ -56,14 +56,17 @@ export default {
initTabs() {
const btns = this.$store.state.btns
const tab1 = btns.includes('/match:管理:大赛详情')
- const tab2 = btns.includes('/match:管理:竞赛进展')
- const tab3 = btns.includes('/match:管理:公告通知')
- const tab4 = btns.includes('/match:管理:报名人员')
+ const tab2 = btns.includes('/match:管理:大赛成绩管理')
+ const tab3 = btns.includes('/match:管理:竞赛进展')
+ const tab4 = btns.includes('/match:管理:公告通知')
+ const tab5 = btns.includes('/match:管理:报名人员')
- tab1 || delete this.tabs.tab1
- tab2 || delete this.tabs.tab2
- tab3 || delete this.tabs.tab3
- tab4 || delete this.tabs.tab4
+ tab1 || this.$delete(this.tabs, 'tab1')
+ tab2 || this.$delete(this.tabs, 'tab2')
+ tab3 || this.$delete(this.tabs, 'tab3')
+ tab4 || this.$delete(this.tabs, 'tab4')
+ tab5 || this.$delete(this.tabs, 'tab5')
+
const type = this.$route.query.tab
const keys = Object.keys(this.tabs)
this.active = keys.includes(type) ? type : keys[0]
diff --git a/src/views/parnerOperation/index.vue b/src/views/parnerOperation/index.vue
index cfb2f03..e28862d 100644
--- a/src/views/parnerOperation/index.vue
+++ b/src/views/parnerOperation/index.vue
@@ -47,9 +47,9 @@ export default {
},
initTabs() {
const btns = this.$store.state.btns
- const tab1 = btns.includes('/parner:合伙人学习管理')
- const tab2 = btns.includes('/parner:合伙人资讯管理')
- const tab3 = btns.includes('/parner:方案管理')
+ const tab1 = btns.includes('/parnerOperation:合伙人学习管理')
+ const tab2 = btns.includes('/parnerOperation:合伙人资讯管理')
+ const tab3 = btns.includes('/parnerOperation:方案管理')
tab1 || delete this.tabs.staff
tab2 || delete this.tabs.pcRole
diff --git a/src/views/parnerOperation/mobileRole.vue b/src/views/parnerOperation/mobileRole.vue
index f2557ef..28d6007 100644
--- a/src/views/parnerOperation/mobileRole.vue
+++ b/src/views/parnerOperation/mobileRole.vue
@@ -13,8 +13,8 @@