Skip to content

computed returns a data trigger of the reference type that does not match the expectation #308

@huangmingfu

Description

@huangmingfu

(bug demo)

It should only perform the callback once initially, but it is also performed when the 'push' subitem is executed

When I run this code in the project, it works as expected, but playground refires every time I push it

Image

The following actions should trigger the callback again:

<button @click="testArr = [{ label: '3', value: '3' }]">修改arr</button>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions