* zin: fix dropmenu not update on switch pages.

This commit is contained in:
sunhao
2023-07-07 16:48:50 +08:00
parent 1730e637e1
commit 4e8a8c8a6d
+1 -1
View File
@@ -72,8 +72,8 @@ class dropmenu extends wg
return zui::dropmenu
(
set('_id', $id),
set('_props', array('data-fetcher' => $url)),
set('data', $data),
set('data-fetcher', $url),
set(array('fetcher' => $url, 'text' => $text, 'defaultValue' => $objectID, 'cache' => $cache)),
set($this->getRestProps())
);