diff --git a/src/assets/img/screen/full.png b/src/assets/img/screen/full.png new file mode 100644 index 0000000..2e24e19 Binary files /dev/null and b/src/assets/img/screen/full.png differ diff --git a/src/assets/img/screen/screen1.jpg b/src/assets/img/screen/screen1.jpg index 3262637..d25db49 100644 Binary files a/src/assets/img/screen/screen1.jpg and b/src/assets/img/screen/screen1.jpg differ diff --git a/src/assets/img/screen/screen2.png b/src/assets/img/screen/screen2.png index 6ef5276..4bcf8a5 100644 Binary files a/src/assets/img/screen/screen2.png and b/src/assets/img/screen/screen2.png differ diff --git a/src/assets/img/screen/t_1.png b/src/assets/img/screen/t_1.png index 5991231..37e6707 100644 Binary files a/src/assets/img/screen/t_1.png and b/src/assets/img/screen/t_1.png differ diff --git a/src/assets/img/screen/t_2.png b/src/assets/img/screen/t_2.png index a9d03b8..3255f03 100644 Binary files a/src/assets/img/screen/t_2.png and b/src/assets/img/screen/t_2.png differ diff --git a/src/assets/img/screen/t_3.png b/src/assets/img/screen/t_3.png index 036700d..37674e0 100644 Binary files a/src/assets/img/screen/t_3.png and b/src/assets/img/screen/t_3.png differ diff --git a/src/assets/img/screen/t_4.png b/src/assets/img/screen/t_4.png index 8b64ad9..2770b46 100644 Binary files a/src/assets/img/screen/t_4.png and b/src/assets/img/screen/t_4.png differ diff --git a/src/assets/img/screen/t_5.png b/src/assets/img/screen/t_5.png index 53dfced..a33a733 100644 Binary files a/src/assets/img/screen/t_5.png and b/src/assets/img/screen/t_5.png differ diff --git a/src/assets/img/screen/t_7.png b/src/assets/img/screen/t_7.png index 118b49d..95c4496 100644 Binary files a/src/assets/img/screen/t_7.png and b/src/assets/img/screen/t_7.png differ diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 47700b2..36e5dd3 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -93,11 +93,15 @@ export default { this.menus = this.defaultMenus } } else { - // 如果是在前台,则判断有没有数据列表的权限 - if (this.routes.find(e => e.name === '/data/list')) { - this.menus = this.dataMenu + if (Setting.dynamicRoute) { + // 如果是在前台,则判断有没有数据列表的权限 + if (this.routes.find(e => e.name === '/data/list')) { + this.menus = this.dataMenu + } else { + this.menus = this.dataMenu[0] + } } else { - this.menus = this.dataMenu[0] + this.menus = this.dataMenu } } }, @@ -122,7 +126,7 @@ export default { let routes = res.permissionMenu[0].children // 如果权限里没有后台的3个菜单,则隐藏进入后台的图标。/data/list是前台数据列表,仅在前台展示 routes.length && !routes.find(e => e.path !== '/data/list') && this.$emit('hideSetting') - Setting.dynamicRoute && addRoutes(routes) + addRoutes(routes) this.initMenu() }).catch(err => { // 被捕获了则显示默认菜单 diff --git a/src/pages/screen/list/index.vue b/src/pages/screen/list/index.vue index 5cf6ed5..7752025 100644 --- a/src/pages/screen/list/index.vue +++ b/src/pages/screen/list/index.vue @@ -1,5 +1,7 @@