Showing
1 changed file
with
2 additions
and
2 deletions
@@ -7,9 +7,9 @@ export default { | @@ -7,9 +7,9 @@ export default { | ||
7 | let promptEle = null; | 7 | let promptEle = null; |
8 | let timer = null; | 8 | let timer = null; |
9 | 9 | ||
10 | - function createPromptVM(self) { | 10 | + function createPromptVM(parent) { |
11 | let tpl = Vue.extend({ | 11 | let tpl = Vue.extend({ |
12 | - store: createStore(get(window, '__INITIAL_STATE__.yoho.context')), | 12 | + store: parent.$store, |
13 | data: function() { | 13 | data: function() { |
14 | return { | 14 | return { |
15 | type: '', | 15 | type: '', |
-
Please register or login to post a comment