-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Description
Version
3.5.1
Reproduction link
https://codepen.io/so-diao/pen/oNxGVvW
Steps to reproduce
https://codepen.io/so-diao/pen/oNxGVvW
What is expected?
What is actually happening?
I modified an old project package.json -> vuex: '^3.0.1'
, npm i
automatically downloaded the latest version (3.5.1) for me, but they are not compatible.
Why are incompatible changes occurring?
// return jquery promise
actions: {
fetch() {
const Deferred = jQuery.Deferred()
setTimeout(() =>{
Deferred.resolve()
}, 1500)
return Deferred.promise()
}
}
// v3.0.1 success
// v3.5.1 error
this.$store.dispatch('fetch').done(res =>{xxxxx})
Metadata
Metadata
Assignees
Labels
No labels