|
|
import { isArray } from 'lodash';
|
|
|
import {get, isArray} from 'lodash';
|
|
|
import {createStore} from '../store';
|
|
|
|
|
|
export default {
|
|
|
install(Vue) {
|
...
|
...
|
@@ -8,6 +9,7 @@ export default { |
|
|
|
|
|
function createPromptVM(self) {
|
|
|
let tpl = Vue.extend({
|
|
|
store: createStore(get(window, '__INITIAL_STATE__.yoho.context')),
|
|
|
data: function() {
|
|
|
return {
|
|
|
type: '',
|
...
|
...
|
|