File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 202202 <a-progress
203203 status =" active"
204204 :percent =" parseFloat(getPercentUsed(entity[usageType + 'total'], entity[usageType + 'limit']))"
205- :format =" p => resource[item + 'limit'] !== '-1' && resource[item + 'limit'] !== 'Unlimited' ? p.toFixed(0) + '%' : ''"
205+ :format =" p => entity[usageType + 'limit'] !== '-1' && entity[usageType + 'limit'] !== 'Unlimited' ? p.toFixed(0) + '%' : ''"
206206 stroke-color =" #52c41a"
207207 size =" small"
208208 />
238238 <a-progress
239239 status =" active"
240240 :percent =" parseFloat(getPercentUsed(entity[usageType + 'total'], entity[usageType + 'limit']))"
241- :format =" p => resource[item + 'limit'] !== '-1' && resource[item + 'limit'] !== 'Unlimited' ? p.toFixed(0) + '%' : ''"
241+ :format =" p => entity[usageType + 'limit'] !== '-1' && entity[usageType + 'limit'] !== 'Unlimited' ? p.toFixed(0) + '%' : ''"
242242 stroke-color =" #52c41a"
243243 size =" small"
244244 />
274274 <a-progress
275275 status =" active"
276276 :percent =" parseFloat(getPercentUsed(entity[usageType + 'total'], entity[usageType + 'limit']))"
277- :format =" p => resource[item + 'limit'] !== '-1' && resource[item + 'limit'] !== 'Unlimited' ? p.toFixed(0) + '%' : ''"
277+ :format =" p => entity[usageType + 'limit'] !== '-1' && entity[usageType + 'limit'] !== 'Unlimited' ? p.toFixed(0) + '%' : ''"
278278 stroke-color =" #52c41a"
279279 size =" small"
280280 />
You can’t perform that action at this time.
0 commit comments