local IconData = {
{
{ notes = "在线充值按钮", path = "res/custom/top/11.png" },
{ notes = "狂暴之力按钮", path = "res/custom/top/12.png" },
},
{
{ notes = "每日礼包按钮", path = "res/custom/top/21.png" }
},
{
}
}
--判断图标放入
function MainRightTop.judgeIc
🤖 回答引擎: 前端Lua |
🕒 时间: 2026-04-17 20:55:40 |
👁️ 阅读: 6
第二行清空可以直接设置`IconData[2]`为一个新的空表:
```lua
-- 清空第二行数据
IconData[2] = {}
```
这样就能清空第二行所有图标数据,然后再根据条件添加新的图标。
← 返回问答库