Commit 38ff818c by crushh

update: dist

parent 014c6795
......@@ -213,19 +213,19 @@ export default {
}
},
echoData(val) {
console.log(val);
let { gameExt } = val;
this.baseForm = Object.assign(this.baseForm, val);
if (this.baseForm.adsFlag) {
this.adsImageUrl = { imgUrl: gameExt.adsImageUrl.materialValue, code: gameExt.adsImageUrl.materialValue };
this.adsImageUrl = { imgUrl: gameExt.adsImageUrl && gameExt.adsImageUrl.materialValue, code: gameExt.adsImageUrl && gameExt.adsImageUrl.materialValue };
}
const currentTemp = this.templateData.filter(item => item.templateId == this.baseForm.templateId)[0];
let obj = {};
let arr = ['backMusicUrl', 'shareCard', 'shareReport'];
currentTemp.gameTemplateMaterialList.forEach(item => {
if (item.materialKey == 'backMusicUrl') {
this.backMusicOptions.push(item);
}
if (item.materialKey != 'backMusicUrl' && item.materialValue) {
if (!arr.includes(item.materialKey) && item.materialValue) {
obj[item.materialKey] = item;
}
});
......
......@@ -224,7 +224,7 @@ export default {
shareReportSize1,
shareReportSize0
};
console.log(shareCard);
this.gameTime = gameTime;
},
handleRuleConfigChange(data) {
......@@ -300,6 +300,10 @@ export default {
}
}
gameRuleConditionList.forEach(item => {
if (item.conditionType == 1) {
gameExt.shareCard.materialValue = item.conditionJson.shareCard;
gameExt.shareReport.materialValue = item.conditionJson.shareReport;
}
item.conditionJson = JSON.stringify(item.conditionJson);
});
if (this.isCopy) {
......
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