0.0.24 • Published 5 years ago
paji-components v0.0.24
paji-components
一些自己用的组件:
button 组件
使用方法:
<Template>
<Button
type="primary"
size="default"
@click="clickFunc"
>
按钮
</Button>
</Template>
<script>
import { Button } from 'paji-components'
export default {
components: {
Button
},
methods: {
clickFunc(e) {
console.log(e);
}
}
};
</script>
参数:
属性名 | 解释 | 属性值 | 备注 |
---|---|---|---|
type | button 按钮的颜色 | primary,submit,default | 默认: primary |
size | button 的大小 | large,default,small | 默认:default |
disabled | button 是否可用 | true,false | 默认:false |
事件 | |||
click | 点击事件 | function |
0.0.24
5 years ago
0.0.23
5 years ago
0.0.22
5 years ago
0.0.21
5 years ago
0.0.20
5 years ago
0.0.19
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago