fix(omiv): fix child.options inject store bug
This commit is contained in:
parent
42db42bf3b
commit
acdc30b0a1
|
@ -211,6 +211,11 @@ function applyMixin(Vue) {
|
|||
this.$store = options.parent.$store
|
||||
}
|
||||
|
||||
// FIXME: 修复不是在 main.js 中注入 store 的问题
|
||||
if (this.$store && !store) {
|
||||
reset(this.$store)
|
||||
}
|
||||
|
||||
if (isMultiStore) {
|
||||
if (use) {
|
||||
let updatePath = {}
|
||||
|
|
Loading…
Reference in New Issue