The class name is not bound?

: class= "{moneybag_col5_width:isA, "disabled": item.isDisabled}" disableds class name is not bound

Sep.28,2021

  1. have you checked that the spelling is correct? What you bind is disabled, and what you expect to bind is disableds?.
  2. did you confirm that the value of item.isDisabled is true?
  3. Assigning values to elements in an array in
  4. Vue does not trigger a responsive update of Vue. To modify the value of an array element, use $set, to refer to the following link: https://www.cnblogs.com/xiaol..

there is no problem with writing, although single quotation marks may not be written.
guess that the property update of the item object is not responding. Check whether the item does not declare the isDisabled property when it is declared in data, or use $set.
where the property is set. If it is convenient to provide more complete code, please ~

.
Menu