* [misc] auto set id to wrapper of dtable.

This commit is contained in:
sunhao
2024-07-18 09:06:56 +08:00
committed by 刘刚
parent 6bada8dd80
commit 09754b6c94
+5 -1
View File
@@ -385,6 +385,10 @@ class dtable extends wg
$this->setProp('unassignedText', $lang->noAssigned);
}
return zui::dtable(inherit($this));
return zui::dtable
(
$this->hasProp('id') ? set::_id($this->prop('id') . '_table') : null,
inherit($this)
);
}
}