海信彩屏线控器展会demo项目,20230515
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
448 B

/**
* 布局处理服务
*/
export class layoutService {
private data = {
title: "",
hasHeader: false,
hasFooter: false,
background: "",
};
constructor() {}
init() {}
setMetaData(inputData: {
title: string;
hasHeader: boolean;
hasFooter: boolean;
background: string;
}) {
this.data = { ...this.data, ...inputData };
}
getMetaData() {
return JSON.parse(JSON.stringify(this.data));
}
}