Parcourir la source

lucksheet修改

xjj il y a 2 ans
Parent
commit
9e2713494b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"){