* Modify param type.

This commit is contained in:
tianshujie
2024-04-30 14:14:36 +08:00
parent e464e4a42e
commit ab354f6f21
+1 -1
View File
@@ -52,7 +52,7 @@ class dropmenu extends wg
return file_get_contents(__DIR__ . DS . 'css' . DS . 'v1.css');
}
protected function buildDropmenu(string $menuID, string $id, string $url, string $text, null|array $data, string|int $defaultValue)
protected function buildDropmenu(string $menuID, string $id, string $url, string $text, null|array $data, string|int|null $defaultValue)
{
$cache = $this->prop('cache');
return zui::dropmenu