html
1<div class="video-wrapper" ref="videoWrapper" show={ switch }></div> 2// コンポーネント 3 var tag = this 4 obs.on('videoSwitch' + tag.index, function(bool) { 5 console.log(bool) 6 tag.switch = false 7 console.log(tag.switch) 8 tag.update() 9 })
コンソールはどちらもfalseになっています。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。