开发:避免错误

pull/2467/MERGE
ChenX 11 months ago
parent 42b9cd0e23
commit da781582da

@ -599,6 +599,7 @@ export default class ResourceStore
c.params.forEach((p: string) =>
{
let params = this.resourceParams[p] as ResourceParams;
if (!params) return;//避免错误
if (params.param_name === '风格') { this.currCategoryParams.styleParams = this.resourceParams[p]; return; }
if (params.param_type === "2") { this.currCategoryParams.colorParams = this.resourceParams[p]; return; }
this.currCategoryParams.otherParams.push(this.resourceParams[p]);

Loading…
Cancel
Save