Skip to content

vue updated model before teardown component #2750

@FQZhang

Description

@FQZhang

Vue.js version

1.0.21

Reproduction Link

https://jsfiddle.net/72oozov2/15/

Steps to reproduce

  1. Turn on "Set Background",
  2. Turn on "Set Background Colour"
  3. Turn off "Set Background"
  4. Look at Browser DevTools

What is Expected?

No error displaying. app keeps on working

What is actually happening?

Got an error: [Vue warn]: Error when evaluating expression "styles.bg.colour": TypeError: Cannot read property 'colour' of undefined

The error stops app to keep on working

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