zyzplzyz

3672 经验值

Regex

Hide network messages
All
Errors
Warnings
Info
Logs
Debug
Handled

(unknown) You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
3
(unknown) [Vue warn]: Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
(unknown) Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools

v-bind:class="{'btn-success':followed}"

l


这个无法正确显示,是怎么回事,群主,我的followed返回是true

Argument 1 passed to App\User::owns() must be an instance of Illuminate\Database\Eloquent\Model, none given, called in /www/zhihu-app/storage/framework/views/f6b36f831c58c0492cf90e9a743a5974e8ecba7f.php on line 18 and defined (View: /www/zhihu-app/resources/views/questions/show.blade.php)

我在show试图中做判断,是否是登陆和是否是作者但是报错了

请问群主,那个owns方法中传入的Model是

use Illuminate\Database\Eloquent\Model;


这个吗??

<div class="form-group">
                                <select name="topics[]" class="js-example-placeholder-multiple js-data-example-ajax form-control" multiple="multiple">
                                </select>
                            </div>

这是我的HTML代码,

function formatTopicSelection(topic) {
               return topic.name || topic.text;
           }

群主,请问是怎么请到没有在topic表中的内容的,就像你的topic表中没有路由,但是你还是在store方法中取到了路由这个值,我却怎么都取不到,