Skip to content

Commit 7547276

Browse files
author
hikki
committed
1.1 点线面
1 parent 04f44f5 commit 7547276

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ComponentServiceProvider.php renamed to src/DLPServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
use Illuminate\Support\ServiceProvider;
66

7-
class ComponentServiceProvider extends ServiceProvider
7+
class DLPServiceProvider extends ServiceProvider
88
{
99
public function boot()
1010
{
11-
$this->loadViewsFrom(__DIR__.'/../resources/views', 'component');
11+
$this->loadViewsFrom(__DIR__.'/../resources/views', 'dlp');
1212

1313
$this->publishes([
1414
__DIR__.'/../resources/assets' => public_path('vendor/dlp/')

src/DLPViewer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public static function _makeRowPlaneAction(Grid $grid,array $settings = [
214214
*/
215215
public static function makeForm(Content $content)
216216
{
217-
return view('component.content', [
217+
return view('dlp::content', [
218218
'_content_' => str_replace('pjax-container', '', $content->build())
219219
])->render();
220220
}
@@ -227,7 +227,7 @@ public static function makeForm(Content $content)
227227
*/
228228
public static function makeHtml($html)
229229
{
230-
return view('component.content', [
230+
return view('dlp::content', [
231231
'_content_' => $html
232232
])->render();
233233
}

0 commit comments

Comments
 (0)