|
|
@@ -224,7 +224,7 @@ async def handlerSend(
|
|
|
crud = CRUD(DeviceConfig)
|
|
|
condtions = {"tab_id": tab_id}
|
|
|
all_devices = crud.read_all(
|
|
|
- session, conditions=condtions, order_by="action_index", ascending=False
|
|
|
+ session, conditions=condtions, order_by="action_index", ascending=True
|
|
|
)
|
|
|
if len(all_devices) == 0:
|
|
|
# 判断是否有可用配置
|