瀏覽代碼

lucksheet修改

xjj 2 年之前
父節點
當前提交
9e2713494b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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"){