Skip to content

Commit

Permalink
修复Grid 排序问题
Browse files Browse the repository at this point in the history
Grid状态保存vuex
logo属性修改
  • Loading branch information
SmallRuralDog committed Mar 20, 2020
1 parent 3f294c8 commit 8a36e37
Show file tree
Hide file tree
Showing 30 changed files with 310 additions and 120,806 deletions.
79 changes: 19 additions & 60 deletions config/admin.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
<?php

return [


'name' => 'vue-admin',

'loginDesc' => '开箱即用的 Laravel 后台扩展',


'logo' => 'https://file.iviewui.com/admin-pro-dist/img/logo-small.4a34a883.png',

//后台名称 null不显示
'name' => null,
//后台标题
'title' => 'LaravelVueAdmin',
//登录界面描述
'loginDesc' => 'LaravelVueAdmin 是开箱即用的 Laravel 后台扩展',
//logo 地址 null为内置默认 分为黑暗和明亮两种
'logo_show' => true,
'logo' => null,
'logo_mini' => null,
'logo_light' => null,
'logo_mini_light' => null,
//版权
'copyright' => 'Copyright © 2020 SmallRuralDog',
//默认头像
'default_avatar' => 'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
//登录页面背景
'login_background_image' => 'https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg',
//底部菜单
'footerLinks' => [
[
'href' => 'https://github.com/SmallRuralDog/laravel-vue-admin',
Expand All @@ -21,114 +30,78 @@
'title' => '文档'
]
],


'bootstrap' => app_path('Admin/bootstrap.php'),


'route' => [

'prefix' => env('ADMIN_ROUTE_PREFIX', 'admin'),
'api_prefix' => env('ADMIN_ROUTE_PREFIX', 'admin-api'),

'namespace' => 'App\\Admin\\Controllers',

'middleware' => ['web', 'admin'],
],


'directory' => app_path('Admin'),


'title' => 'Admin',


'https' => env('ADMIN_HTTPS', false),

'auth' => [

'controller' => App\Admin\Controllers\AuthController::class,

'guard' => 'admin',

'guards' => [
'admin' => [
'driver' => 'session',
'provider' => 'admin',
],
],

'providers' => [
'admin' => [
'driver' => 'eloquent',
'model' => SmallRuralDog\Admin\Auth\Database\Administrator::class,
],
],

// Add "remember me" to login form
'remember' => true,

// Redirect to the specified URI when user is not authorized.
'redirect_to' => 'auth/login',

// The URIs that should be excluded from authorization.
'excepts' => [
'auth/login',
'auth/logout',
'_handle_action_',
],
],

'upload' => [

// Disk in `config/filesystem.php`.
'disk' => 'public',

// Image and file upload path under the disk above.
'directory' => [
'image' => 'images',
'file' => 'files',
],
],

'database' => [

// Database connection for following tables.
'connection' => '',

// User tables and model.
'users_table' => 'admin_users',
'users_model' => SmallRuralDog\Admin\Auth\Database\Administrator::class,

// Role table and model.
'roles_table' => 'admin_roles',
'roles_model' => SmallRuralDog\Admin\Auth\Database\Role::class,

// Permission table and model.
'permissions_table' => 'admin_permissions',
'permissions_model' => SmallRuralDog\Admin\Auth\Database\Permission::class,

// Menu table and model.
'menu_table' => 'admin_menu',
'menu_model' => SmallRuralDog\Admin\Auth\Database\Menu::class,

// Pivot table for table above.
'operation_log_table' => 'admin_operation_log',
'user_permissions_table' => 'admin_user_permissions',
'role_users_table' => 'admin_role_users',
'role_permissions_table' => 'admin_role_permissions',
'role_menu_table' => 'admin_role_menu',
],

'operation_log' => [

'enable' => true,

'enable' => false,
/*
* Only logging allowed methods in the list
*/
'allowed_methods' => ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'CONNECT', 'OPTIONS', 'TRACE', 'PATCH'],

/*
* Routes that will not log to database.
*
Expand All @@ -139,25 +112,11 @@
'admin/auth/logs*',
],
],

'check_route_permission' => true,


'check_menu_roles' => true,

'default_avatar' => 'https://dev-file.iviewui.com/userinfoPDvn9gKWYihR24SpgC319vXY8qniCqj4/avatar',


'map_provider' => 'google',


'login_background_image' => 'https://file.iviewui.com/admin-pro-dist/img/body.8aa7c4a6.svg',


'show_version' => true,

'show_environment' => true,

'menu_bind_permission' => true,

];
Loading

0 comments on commit 8a36e37

Please sign in to comment.