初始化仓库
This commit is contained in:
29
admin/components/UI/Components/Loading.php
Normal file
29
admin/components/UI/Components/Loading.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace admin\components\UI\Components;
|
||||
|
||||
use Illuminate\View\Component;
|
||||
|
||||
/**
|
||||
* 加载数据中
|
||||
* @package backend\components\UI\Components
|
||||
*/
|
||||
class Loading extends Component
|
||||
{
|
||||
public $title;
|
||||
public $content;
|
||||
|
||||
public function __construct($title = '加载数据中,请稍等...', $content = '如果长时间未加载您可以尝试重新加载')
|
||||
{
|
||||
$this->title = $title;
|
||||
$this->content = $content;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('vendor.duxphp.duxravel-app.src.core.UI.View.Components.loading');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user