tapi/app/entity/gateway/script/Swal.php
2025-08-29 23:32:20 +08:00

27 lines
517 B
PHP

<?php
namespace app\entity\gateway\script;
use AllowDynamicProperties;
/**
* sweetalert2 弹窗提示框组件
* @doc https://sweetalert2.github.io/#examples
*/
#[AllowDynamicProperties] class Swal extends BaseScript
{
public function __construct(
array $_bind = [],
string $title = '',
string $text = '',
string $icon = null,
)
{
$this->title = $title;
$this->text = $text;
$this->icon = $icon;
parent::__construct($_bind);
}
}