Vue 2.1 [Vue warn]: 属性 或方法“_leaving”未在实例上定义但在渲染期间被引用
Vue 2.1 [Vue warn]: Property or method "_leaving" is not defined on the instance but referenced during render
自从我更新到新的 Vue 2.1 版本后,我在控制台上收到了这条消息:
[Vue warn]: Property or method "_leaving" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
(found in component )
但是如果使用 Vue 2.0 再试一次,这个警告就会消失。
没看懂,我用的是默认的transitions
再次更新,问题已解决:见https://github.com/vuejs/vue/issues/4300
自从我更新到新的 Vue 2.1 版本后,我在控制台上收到了这条消息:
[Vue warn]: Property or method "_leaving" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option. (found in component )
但是如果使用 Vue 2.0 再试一次,这个警告就会消失。
没看懂,我用的是默认的transitions
再次更新,问题已解决:见https://github.com/vuejs/vue/issues/4300