Files
xk-api-yii/admin/components/UI/Components/Loading.php
2024-09-19 11:32:39 +08:00

30 lines
616 B
PHP

<?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');
}
}