Selaa lähdekoodia

lucksheet修改

xjj 2 vuotta sitten
vanhempi
commit
9e2713494b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/controllers/menuButton.js

+ 1 - 1
src/controllers/menuButton.js

@@ -3708,7 +3708,7 @@ const menuButton = {
             "13": "Thick"
         };
 
-        type = borderType[type.toString()];
+        type = borderType[type? type.toString(): "0"];
 
     	try {
         	if(type == "Hair"){