mirror of https://gitee.com/karson/fastadmin.git
增加空操作——找不到处理方法时友好提示
parent
d2e55530cb
commit
73770e1b4a
|
|
@ -12,6 +12,15 @@ use think\Exception;
|
||||||
trait Backend
|
trait Backend
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 空操作
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
public function _empty()
|
||||||
|
{
|
||||||
|
$this->error(__('An unexpected error occurred'));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 排除前台提交过来的字段
|
* 排除前台提交过来的字段
|
||||||
* @param $params
|
* @param $params
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue