设置路由后及后台菜单点击问题

1、安装门户模块;
2、后台设置默认前台模块为“门户”;
3、路由规则设置为:
\think\Route::rule('/','cms/index/index');
4、点击后台顶级菜单“门户”没有反应;
已邀请:

dolphinphp

赞同来自:

试试以下方法
 
打开根目录的admin.php
 

// 加载框架引导文件
require './thinkphp/start.php';

换成
 
// 加载框架基础文件
require './thinkphp/base.php';
// 关闭路由
\think\App::route(false);
// 执行应用
\think\App::run()->send();

要回复问题请先登录注册