Commit 0cf0a279 authored by zhaofei's avatar zhaofei

s

parent 0ad5cabe
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
isEdit="{{isEdit}}" isEdit="{{isEdit}}"
conditionKeys="{{conditionKeys}}" conditionKeys="{{conditionKeys}}"
prizeDialogData="{{prizeDialogData}}" prizeDialogData="{{prizeDialogData}}"
prizeDataType="{{prizeDataType}}"
imageLimit="{{imageLimit}}" imageLimit="{{imageLimit}}"
onClose="onCloseDialog" onClose="onCloseDialog"
type="rank" type="rank"
......
...@@ -12,6 +12,7 @@ Component({ ...@@ -12,6 +12,7 @@ Component({
conditionKeys: [], conditionKeys: [],
maxRankLimit: '', maxRankLimit: '',
list: [], list: [],
prizeDataType:null,
onChange: () => { }, onChange: () => { },
dataName: '' dataName: ''
}, },
......
...@@ -431,7 +431,7 @@ export default class ActivityConfigService { ...@@ -431,7 +431,7 @@ export default class ActivityConfigService {
if (item?.sort == 'prizePool') { if (item?.sort == 'prizePool') {
if (item.conditionKeys?.length) { if (item.conditionKeys?.length) {
item.conditionKeys.forEach(condition => { item.conditionKeys.forEach(condition => {
prizeData[item.key].filter(prize => { prizeData[item.key] = prizeData[item.key].filter(prize => {
return prize[condition.key] == condition.value return prize[condition.key] == condition.value
}) })
}) })
......
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