优化 代码

This commit is contained in:
xiu2
2021-07-29 19:32:58 +08:00
parent 37ab90e918
commit d649e170d1
3 changed files with 36 additions and 96 deletions
+2 -11
View File
@@ -95,18 +95,9 @@
}
// 菜单数字图标
function menu_num(num) {
switch(num) {
case 1:
return '1️⃣'
break;
case 2:
return '2️⃣'
break;
case 3:
return '3️⃣'
break;
}
return ['0️⃣','1️⃣','2️⃣','3️⃣','4️⃣','5️⃣','6️⃣','7️⃣','8️⃣','9️⃣','🔟'][num]
}