|
@@ -18,7 +18,8 @@ export class PageCtrl extends ModuleControl<EditorModule> {
|
|
|
state = RxValue.create({
|
|
|
currCompId: "root",
|
|
|
currStreamCardId: "",
|
|
|
- rootId: ""
|
|
|
+ rootId: "",
|
|
|
+ title: ''
|
|
|
}, history)
|
|
|
|
|
|
initEvent() {
|
|
@@ -87,6 +88,7 @@ export class PageCtrl extends ModuleControl<EditorModule> {
|
|
|
|
|
|
setDesignData(data: Partial<DesignTemp>) {
|
|
|
this.designData = new DesignTemp(data);
|
|
|
+ this.state.title = data.title || '';
|
|
|
//设置组件父子关系
|
|
|
const ite = (root:any)=> {
|
|
|
const cards = root.children?.default || [];
|