mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
487001d697
.demo.md for component demo .demo-entry.md for demo entry .md for common docs
219 B
219 B
加载中
按钮有加载状态。
<n-button
:loading="loading"
@click="loading = !loading"
>
点我
</n-button>
export default {
data () {
return {
loading: false
}
}
}