Skip to content

Commit f3c4b4d

Browse files
committed
右键选择器
1 parent 214aea6 commit f3c4b4d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/DLPViewer.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Encore\Admin\Grid;
99
use Encore\Admin\Layout\Content;
1010
use Illuminate\Http\Request;
11-
use Illuminate\Support\Facades\DB;
1211

1312
/**
1413
* Class DLPViewer
@@ -24,12 +23,6 @@ class DLPViewer
2423
*/
2524
public static function makeForm(Content $content)
2625
{
27-
$request = Request::capture();
28-
$data = $request->all();
29-
if(isset($data['dlp_json_view'])){
30-
$list = json_decode(json_encode(DB::select($data['source'])), true);
31-
return DLPViewer::result(true, 'source', $list);
32-
}
3326
return view('dlp::content', [
3427
'_content_' => str_replace('pjax-container', '', $content->build())
3528
])->render();

0 commit comments

Comments
 (0)