Commit 9796ee64 authored by limingzhe's avatar limingzhe

fix: 一只默认数据

parent 25c7050a
......@@ -158,12 +158,12 @@ export class PlayComponent implements OnInit, OnDestroy {
this.initPageData(aspect);
}
// if (data && typeof data == 'object') {
// this.data = { contentObj: data };
// } else {
if (data && typeof data == 'object') {
this.data = { contentObj: data };
} else {
this.initDefaultData();
// }
}
console.log('data:', data);
if (!this.data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment