Skip to content

When modal is closing, it changes the visible value automatically  #1125

@PegasusZero

Description

@PegasusZero
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.3.15

Environment

Windows 10 | Chrome 76.0.3809.100 | vue-cli 3.5.1

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. click "add" button
  2. close modal

What is expected?

no [Vue warn] should be shown

'Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "visible"'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions