Vue.js inside, the binding class uses a computed attribute that is What Do You Mean?

  node.js, question

http://cn.vuejs.org/guide/class-and-style.html

You can also directly bind an object of the data inside:

<div v-bind:class="classObject"></div>
 data: {
 classObject: {
 'class-a': true,
 'class-b': false
 bracket
 bracket

We can also bind one hereReturns the calculated properties of an object. This is a common and powerful pattern.

How to use calculation attributes here, can you give an example?

Maybe that’s what it means.

computed:{
 classObject: function(){
 return  true ?  bracket
 'class-a': true,
 'class-b': false
 }:  {
 'class-a': false,
 'class-b': false
 };
 bracket
 bracket