We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<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(); },
<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(); },
The text was updated successfully, but these errors were encountered:
when i clicked span quickly ,the modal cannot be closed when click ok button or other parts in window. who can help me ?
Sorry, something went wrong.
I'd recommend you check out https://github.com/bootstrap-vue/bootstrap-vue This repo seems to be dead for awhile now.
No branches or pull requests
<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(); },
The text was updated successfully, but these errors were encountered: