5.0.0 - 致命 - 已处理

SELECT `id`,`pid`,`title_cn`,`category`.*,pivot.category_id AS pivot__category_id,pivot.article_id AS pivot__article_id FROM `category` INNER JOIN `category_article` `pivot` ON `pivot`.`category_id`=`category`.`id` INNER JOIN `category_article` `pivot` ON `pivot`.`category_id`=`category`.`id` WHERE `pivot`.`article_id` = 2966做了两次join,直接报错了.在think\model\relation\BelongsToMany 248行 belongsToManyQuery操作中,$this->query已经带有join语句了,255行又加了同样的join语句造成以上的错误.
补充一下说明:
$this->belongsToMany('Category',config('database.prefix').'category_article')->field('id,title_cn');带上field()才有以上的报错 