This commit is contained in:
syuilo 2020-09-20 01:35:35 +09:00
parent e796d24292
commit 485579fa55
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<component :is="modal.component" v-bind="modal.props" v-on="modal.events" @done="modal.done"/>
</XModal>
<component v-for="popup in $store.state.popups.filter(x => x.type === 'popup')" :key="popup.id" :is="popup.component" v-bind="popup.props" v-on="modal.events" @done="popup.done" @closed="popup.closed"/>
<component v-for="popup in $store.state.popups.filter(x => x.type === 'popup')" :key="popup.id" :is="popup.component" v-bind="popup.props" v-on="popup.events" @done="popup.done" @closed="popup.closed"/>
<div id="wait" v-if="$store.state.pendingApiRequestsCount > 0"></div>
</template>

View File

@ -41,6 +41,8 @@ export class Autocomplete {
this.vm = vm;
this.opts = opts;
this.opening = false;
this.attach();
}
/**