Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the modal cannot be closed when click two times quickly in vue projects. #152

Open
tyhyly opened this issue Sep 5, 2017 · 2 comments
Open

Comments

@tyhyly
Copy link

tyhyly commented Sep 5, 2017

<span @click="showPieChart()">查看图表</span>
<Modal v-model="showChart" @ok="showChart = false" effect="zoom">
<div slot="modal-footer" class="modal-footer">
<button type="button" class="btn btn-default" @click="showChart = false">OK</button>
</div>
</Modal>
data(){ return { showChart : false, } } showPieChart() { if(this.showChart) return; this.showChart = true; this.updateChartOption(); },

@tyhyly
Copy link
Author

tyhyly commented Sep 5, 2017

when i clicked span quickly ,the modal cannot be closed when click ok button or other parts in window.
who can help me ?

@dbarrington
Copy link

I'd recommend you check out https://github.com/bootstrap-vue/bootstrap-vue
This repo seems to be dead for awhile now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants