使用TABLE.reIndex整理代码

This commit is contained in:
MrZ626
2021-03-08 10:51:03 +08:00
parent 22b4924b63
commit f9b2929a64
2 changed files with 19 additions and 50 deletions

View File

@@ -55,7 +55,7 @@ local eggInput={
drp=goScene"app_dropper",
calc=goScene"app_calc",
cmd=goScene"app_cmd",
}for k,v in next,eggInput do if type(v)=="string"then eggInput[k]=eggInput[v]end end
}TABLE.reIndex(eggInput)
local function search()
local input=inputBox.value
if eggInput[input]then