naive-ui/demo/documentation/components/collapse/zhCN/basic.demo.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

416 B

基础

<n-collapse v-model="activeNames">
  <n-collapse-item title="青铜" name="1">
    <div>可以</div>
  </n-collapse-item>
  <n-collapse-item title="白银" name="2">
    <div>很好</div>
  </n-collapse-item>
  <n-collapse-item title="黄金" name="3">
    <div>真棒</div>
  </n-collapse-item>
</n-collapse>
export default {
  data() {
    return {
      activeNames: []
    }
  }
}