* zin: refactor.

This commit is contained in:
sunhao
2024-03-28 15:02:09 +08:00
parent 8f28b2977e
commit 5a3a5c6df4
+1 -1
View File
@@ -28,7 +28,7 @@ class echarts extends wg
{
if(isDebug())
{
$this->triggerError('echarts::size() is deprecated, use echarts(set::width(' . json_encode($width) . '), set::height(' . json_encode($height) . ')) in instead.');
$this->triggerError('echarts::size(' . json_encode($width) . ', ' . json_encode($height) . ') is deprecated, use echarts(set::width(' . json_encode($width) . '), set::height(' . json_encode($height) . ')) in instead.', E_USER_WARNING);
}
$this->setProp('width', $width);
$this->setProp('height', $height);