mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-02 03:55:59 +00:00
v2.0代码提交
This commit is contained in:
10
smart_admin_v1/smart-admin-h5/src/lib/render-dom.js
Normal file
10
smart_admin_v1/smart-admin-h5/src/lib/render-dom.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export default {
|
||||
name: 'RenderDom',
|
||||
functional: true,
|
||||
props: {
|
||||
render: Function
|
||||
},
|
||||
render: (h, ctx) => {
|
||||
return ctx.props.render(h);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user