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