(model, ratioType, value)
| 240 | }; |
| 241 | |
| 242 | const findSourceChannel = (model, ratioType, value) => { |
| 243 | if (differences[model] && differences[model][ratioType]) { |
| 244 | const upMap = differences[model][ratioType].upstreams || {}; |
| 245 | const entry = Object.entries(upMap).find(([_, v]) => v === value); |
| 246 | if (entry) return entry[0]; |
| 247 | } |
| 248 | return t('未知'); |
| 249 | }; |
| 250 | |
| 251 | Object.entries(resolutions).forEach(([model, ratios]) => { |
| 252 | const localCat = getLocalBillingCategory(model); |