|
@@ -239,11 +239,6 @@ class Asset
|
|
|
*/
|
|
|
protected $isPjax = false;
|
|
|
|
|
|
- /**
|
|
|
- * @var bool
|
|
|
- */
|
|
|
- protected $usingFullPage = false;
|
|
|
-
|
|
|
/**
|
|
|
* @var array
|
|
|
*/
|
|
@@ -293,20 +288,6 @@ class Asset
|
|
|
];
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 使用全页面(无菜单和导航栏).
|
|
|
- *
|
|
|
- * @param bool $value
|
|
|
- *
|
|
|
- * @return $this
|
|
|
- */
|
|
|
- public function full(bool $value = true)
|
|
|
- {
|
|
|
- $this->usingFullPage = $value;
|
|
|
-
|
|
|
- return $this;
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* 根据别名设置需要载入的js和css脚本.
|
|
|
*
|
|
@@ -562,10 +543,6 @@ class Asset
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if ($this->usingFullPage) {
|
|
|
- unset($this->baseJs['menu']);
|
|
|
- }
|
|
|
-
|
|
|
$this->js = array_merge($this->baseJs, $this->js);
|
|
|
}
|
|
|
|