最近想改造一下公司的系统后台,想用angular2.0做为前端框架,有没有这方面的经验,网上的资料比较的少,想向大神取一下经。
use Question時錯了,哎,該死的phpStorm自動补全,心都碎了。。。。
$answer->question()->increment('answers_count');
Missing argument 1 for Symfony\Component\Console\Question\Question::__construct(), called in /Users/hwl/work/phps/zhihu-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php on line 487 and defined
改answers_count时报错了,看不出是哪里出问题了