Commit 60a96142 authored by 邱旭's avatar 邱旭

1

parent fe34506f
......@@ -96,15 +96,15 @@ export default class RedBombAlertPanel extends Panel {
let img = option.img;
switch(categoryType) {
case 2:
this.propnums.text ='x'+ num;
this.propnums.text ='x'+ (num || 1);
img = 'alert_blood_png';
break;
case 3:
this.propnums.text ='x'+ num;
this.propnums.text ='x'+ (num || 1);
img = `alert_prop${propType}_png`;
break;
case 4:
this.propnums.text ='x'+ realValue;
this.propnums.text ='x'+ (realValue || 1);
img = 'alert_yb_png';
break;
default:
......
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