iframe-tabs
iframe-tabs copied to clipboard
多后台扩展安装后,主后台没事,扩展后台菜单全部消失了
您好,我安装了laravel-admin多后台扩展插件,然后安装完你的扩展后,导致另外一个后台,左侧菜单,顶部菜单等全部不见了
这个我也不好排查是什么原因,官方那个扩展的代码看不到。
Ichynul\IframeTabs\IframeTabsServiceProvider
58行:我自己改的,商户后台菜单出来了,只是没有iframe效果了 if (\Request::route()->getName() == 'iframes.index' || preg_match('/^tenancy.*$/', \Request::route()->uri))
主后台是/admin
那分后台是/tenancy
这样吗?
是的 但必须基于admin那个才能使用 ------------------ 原始邮件 ------------------ 发件人: "ichynul"[email protected] 发送时间: 2019年5月10日(星期五) 上午9:06 收件人: "ichynul/iframe-tabs"[email protected]; 抄送: "ashuiccc"[email protected];"Author"[email protected]; 主题: Re: [ichynul/iframe-tabs] 多后台扩展安装后,主后台没事,扩展后台菜单全部消失了 (#19)
主后台是/admin 那分后台是/tenancy这样吗?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
我加你
我qq尾号*957,你的上面的qq我删了,万一有人冒充问你要源码
/tenancy/routes.php
Route::get('/', 'HomeController@index');
改成
Route::get('/', Ichynul\IframeTabs\Http\Controllers\IframeTabsController::class . '@index')->name('iframes.index');
试试看 @ashuiccc
/tenancy/routes.php
:
Route::group([
'namespace' => '\Ichynul\IframeTabs\Http\Controllers',
], function (Router $router) {
Route::get('/', IframeTabsController::class . '@index')->name('iframes.index');
});
Route::get('dashboard', 'HomeController@index');
// other routes for tenancy