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