refactor: 修改横幅验证
This commit is contained in:
@@ -61,7 +61,7 @@ class SysBannerValidate extends Validate
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 验证是否为空
|
// 验证是否为空
|
||||||
private function empty($value, $rule, $data)
|
protected function empty($value, $rule, $data)
|
||||||
{
|
{
|
||||||
if (!isset($data['unique_label'])) {
|
if (!isset($data['unique_label'])) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user