Comments (5)
多项目在 config.admin 中有一个 multi_app 数组,iframe-tab占用的路由可以支持这个数组的设置
from dcat-iframe-tab.
现在我可以在对应项目的route文件下这样写
Route::group([
'prefix' => config('admin.route.prefix'),
'middleware' => config('admin.route.middleware'),
], function (Router $router) {
$controller = IframeController::class;
$router->get('/', $controller . '@index');
});
from dcat-iframe-tab.
这个问题你最后怎么处理了
from dcat-iframe-tab.
你好,问题解决了吗
from dcat-iframe-tab.
解决方案,
Route::group([
'prefix' => config('xxx-admin.route.prefix'),
// 'namespace' => config('xxx-admin.route.namespace'),
'middleware' => config('xxx-admin.route.middleware'),
], function (Router $router) {
$controller = IframeController::class;
$router->get('/', $controller . '@index');
// $router->get('/', [\App\xxxAdmin\Controllers\HomeController::class, 'index']);
$router->get('/dashboard', [\App\xxxAdmin\Controllers\HomeController::class, 'index']);
from dcat-iframe-tab.
Related Issues (20)
- 底部版权疑问 HOT 1
- 请问有计划兼容水平菜单吗 HOT 2
- 管理后台使用独立域名有问题 HOT 1
- 使用扩展后出错 HOT 1
- iframe 页面刷新 HOT 2
- [BUG]表格中的某一行操作按钮下拉菜单出现BUG HOT 12
- 子域名模式下出现后台无限套娃 HOT 2
- 二级页面中实现刷新按钮 HOT 1
- 首页覆盖了 HOT 6
- iframe 加载能支持加载动画吗 HOT 5
- 做跳转的时候 会生成新的tab的同时原先页面和新生成的页面一摸一样 HOT 9
- 这个插件是不是对低版本的dcatadmin不能使用?? HOT 2
- 顶部横向 (Horizontal)安装后出现 问题
- 能不能支持php7.1? HOT 2
- 使用在列表页使用打开数据详情。 列表页 和 新打开的页面 都会变成详情页 我应该怎么保持列表页面不变? HOT 3
- 面包屑中点击主页显示空白页 HOT 2
- a标签超链接。在首页有一个a标签超链接,访问的时候,不是打开新的tab标签,而是将首页覆盖了。这个怎么解决 HOT 1
- 增加个dcat-admin-extensions标签吧 HOT 2
- 后台主页无限套娃 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcat-iframe-tab.