Commit 9796ee64 authored by limingzhe's avatar limingzhe

fix: 一只默认数据

parent 25c7050a
...@@ -158,12 +158,12 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -158,12 +158,12 @@ export class PlayComponent implements OnInit, OnDestroy {
this.initPageData(aspect); this.initPageData(aspect);
} }
// if (data && typeof data == 'object') { if (data && typeof data == 'object') {
// this.data = { contentObj: data }; this.data = { contentObj: data };
// } else { } else {
this.initDefaultData(); this.initDefaultData();
// } }
console.log('data:', data); console.log('data:', data);
if (!this.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