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

1

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