分页: 1 / 1

widgetById 函数不能使用

发表于 : 2018年 2月 4日 00:16
ylqjgm
看到Helper中有一个函数widgetById,可以单独获取数据,但是使用时却发现

代码: 全选

Too few arguments to function Widget_Abstract::__construct(), 0 passed in /data/wwwroot/tp.cn/var/Helper.php on line 57 and at least 2 expected


这样的提示,也就是构造函数没有传入参数,谁能解决下么?