functional: CellGroup, Icon, Info, Loading, GoodsAction (#2674)
This commit is contained in:
@@ -2,8 +2,15 @@ import { use } from '../utils';
|
||||
|
||||
const [sfc, bem] = use('goods-action');
|
||||
|
||||
export default sfc({
|
||||
render(h) {
|
||||
return <div class={bem()}>{this.$slots.default}</div>;
|
||||
}
|
||||
});
|
||||
export default sfc(
|
||||
{
|
||||
render(h, context) {
|
||||
return (
|
||||
<div class={bem()} {...context.data}>
|
||||
{context.children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
},
|
||||
true
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user