我定義了一個組件,在組建上加v-show拋出錯誤Attribute "v-show" is ignored on component <parent> because the component is a fragment instance:然后按到提示去了http://vuejs.org/guide/compon...結(jié)果純英文,英文太差沒看懂。。。代碼如下:html<div id="app">
<div>
<parent :display="display" v-show="display"></parent>
</div>
</div>js
vue在組建中加v-show報錯怎么解決?
回首憶惘然
2018-09-11 10:14:48