Skip to content

computed in class property can not update #5478

@xhxhxhxh

Description

@xhxhxhxh

Version

3.2.31

Reproduction link

sfc.vuejs.org/

Steps to reproduce

see link, computed in {{}} is worked, but in :class="{}", did not work.
maybe is not a bug, but I want to save computed value in a Object, and use it in another component

What is expected?

computed value could update

What is actually happening?

computed value could not update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions