|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
namespace Dcat\Admin\Grid;
|
|
|
|
|
|
+use Dcat\Admin\Admin;
|
|
|
use Dcat\Admin\Grid;
|
|
|
use Dcat\Admin\Support\LazyRenderable as Renderable;
|
|
|
|
|
@@ -26,6 +27,8 @@ abstract class LazyRenderable extends Renderable
|
|
|
*/
|
|
|
public function render()
|
|
|
{
|
|
|
+ $this->addStyle();
|
|
|
+
|
|
|
$class = $this->allowSimpleMode() ? 'simple-grid' : null;
|
|
|
|
|
|
return <<<HTML
|
|
@@ -33,6 +36,11 @@ abstract class LazyRenderable extends Renderable
|
|
|
HTML;
|
|
|
}
|
|
|
|
|
|
+ protected function addStyle()
|
|
|
+ {
|
|
|
+ Admin::style('.select2-container{z-index:29891015}');
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 是否启用简化模式.
|
|
|
*
|