15 lines
395 B
Plaintext
15 lines
395 B
Plaintext
|
interface Container {
|
|||
|
name: 容器名
|
|||
|
type: 页面容器,tab容器,弹窗容器
|
|||
|
components: [component,component,component]
|
|||
|
}
|
|||
|
|
|||
|
interface Component extend Container{
|
|||
|
name:
|
|||
|
type:
|
|||
|
props
|
|||
|
}
|
|||
|
|
|||
|
// 每个容器组件有对应的渲染模板来渲染包含的子组件如tabs用的是TabContainer.template,Modal用的是Modal.template,生成单独的modal.vue文件
|
|||
|
|