Authored by yyq

parent store

... ... @@ -7,9 +7,9 @@ export default {
let promptEle = null;
let timer = null;
function createPromptVM(self) {
function createPromptVM(parent) {
let tpl = Vue.extend({
store: createStore(get(window, '__INITIAL_STATE__.yoho.context')),
store: parent.$store,
data: function() {
return {
type: '',
... ...