Skip to content

Commit 8a36e37

Browse files
committed
修复Grid 排序问题
Grid状态保存vuex logo属性修改
1 parent 3f294c8 commit 8a36e37

30 files changed

+310
-120806
lines changed

config/admin.php

Lines changed: 19 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
<?php
22

33
return [
4-
5-
6-
'name' => 'vue-admin',
7-
8-
'loginDesc' => '开箱即用的 Laravel 后台扩展',
9-
10-
11-
'logo' => 'https://file.iviewui.com/admin-pro-dist/img/logo-small.4a34a883.png',
12-
4+
//后台名称 null不显示
5+
'name' => null,
6+
//后台标题
7+
'title' => 'LaravelVueAdmin',
8+
//登录界面描述
9+
'loginDesc' => 'LaravelVueAdmin 是开箱即用的 Laravel 后台扩展',
10+
//logo 地址 null为内置默认 分为黑暗和明亮两种
11+
'logo_show' => true,
12+
'logo' => null,
13+
'logo_mini' => null,
14+
'logo_light' => null,
15+
'logo_mini_light' => null,
16+
//版权
1317
'copyright' => 'Copyright © 2020 SmallRuralDog',
18+
//默认头像
19+
'default_avatar' => 'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
20+
//登录页面背景
21+
'login_background_image' => 'https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg',
22+
//底部菜单
1423
'footerLinks' => [
1524
[
1625
'href' => 'https://github.com/SmallRuralDog/laravel-vue-admin',
@@ -21,114 +30,78 @@
2130
'title' => '文档'
2231
]
2332
],
24-
25-
2633
'bootstrap' => app_path('Admin/bootstrap.php'),
27-
28-
2934
'route' => [
30-
3135
'prefix' => env('ADMIN_ROUTE_PREFIX', 'admin'),
3236
'api_prefix' => env('ADMIN_ROUTE_PREFIX', 'admin-api'),
33-
3437
'namespace' => 'App\\Admin\\Controllers',
35-
3638
'middleware' => ['web', 'admin'],
3739
],
38-
39-
4040
'directory' => app_path('Admin'),
41-
42-
43-
'title' => 'Admin',
44-
45-
4641
'https' => env('ADMIN_HTTPS', false),
47-
4842
'auth' => [
49-
5043
'controller' => App\Admin\Controllers\AuthController::class,
51-
5244
'guard' => 'admin',
53-
5445
'guards' => [
5546
'admin' => [
5647
'driver' => 'session',
5748
'provider' => 'admin',
5849
],
5950
],
60-
6151
'providers' => [
6252
'admin' => [
6353
'driver' => 'eloquent',
6454
'model' => SmallRuralDog\Admin\Auth\Database\Administrator::class,
6555
],
6656
],
67-
6857
// Add "remember me" to login form
6958
'remember' => true,
70-
7159
// Redirect to the specified URI when user is not authorized.
7260
'redirect_to' => 'auth/login',
73-
7461
// The URIs that should be excluded from authorization.
7562
'excepts' => [
7663
'auth/login',
7764
'auth/logout',
7865
'_handle_action_',
7966
],
8067
],
81-
8268
'upload' => [
83-
8469
// Disk in `config/filesystem.php`.
8570
'disk' => 'public',
86-
8771
// Image and file upload path under the disk above.
8872
'directory' => [
8973
'image' => 'images',
9074
'file' => 'files',
9175
],
9276
],
93-
9477
'database' => [
95-
9678
// Database connection for following tables.
9779
'connection' => '',
98-
9980
// User tables and model.
10081
'users_table' => 'admin_users',
10182
'users_model' => SmallRuralDog\Admin\Auth\Database\Administrator::class,
102-
10383
// Role table and model.
10484
'roles_table' => 'admin_roles',
10585
'roles_model' => SmallRuralDog\Admin\Auth\Database\Role::class,
106-
10786
// Permission table and model.
10887
'permissions_table' => 'admin_permissions',
10988
'permissions_model' => SmallRuralDog\Admin\Auth\Database\Permission::class,
110-
11189
// Menu table and model.
11290
'menu_table' => 'admin_menu',
11391
'menu_model' => SmallRuralDog\Admin\Auth\Database\Menu::class,
114-
11592
// Pivot table for table above.
11693
'operation_log_table' => 'admin_operation_log',
11794
'user_permissions_table' => 'admin_user_permissions',
11895
'role_users_table' => 'admin_role_users',
11996
'role_permissions_table' => 'admin_role_permissions',
12097
'role_menu_table' => 'admin_role_menu',
12198
],
122-
12399
'operation_log' => [
124-
125-
'enable' => true,
126-
100+
'enable' => false,
127101
/*
128102
* Only logging allowed methods in the list
129103
*/
130104
'allowed_methods' => ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'CONNECT', 'OPTIONS', 'TRACE', 'PATCH'],
131-
132105
/*
133106
* Routes that will not log to database.
134107
*
@@ -139,25 +112,11 @@
139112
'admin/auth/logs*',
140113
],
141114
],
142-
143115
'check_route_permission' => true,
144-
145-
146116
'check_menu_roles' => true,
147-
148-
'default_avatar' => 'https://dev-file.iviewui.com/userinfoPDvn9gKWYihR24SpgC319vXY8qniCqj4/avatar',
149-
150-
151117
'map_provider' => 'google',
152-
153-
154-
'login_background_image' => 'https://file.iviewui.com/admin-pro-dist/img/body.8aa7c4a6.svg',
155-
156-
157118
'show_version' => true,
158-
159119
'show_environment' => true,
160-
161120
'menu_bind_permission' => true,
162121

163122
];

0 commit comments

Comments
 (0)