kui-vue
Version:
A high quality UI Toolkit built on Vue.js 2.0
26 lines (24 loc) • 369 B
Markdown
<cn>
#### 基础用法
`Notice` 的基本用法
</cn>
```vue
<template>
<div>
<Button @click="info" type="primary">普通提示</Button>
</div>
</template>
<script>
export default{
methods:{
info() {
this.$Notice.open({
title: "通知的标题",
content: "通知的描述",
duration: 5
});
}
}
}
</script>
```