fix: 抓取元素回填垃圾选择器——无属性元素生成 //*[N](匹配任意节点点不到),改为 invalid 标记前端提示不可选;结构路径跳过无 class 层消除 //*[N] 前缀污染;模块拆分遗漏修复(get_all_worker_status/list_installed_apps 致 summary/设备已装应用 500)

This commit is contained in:
2026-08-19 15:10:26 +08:00
parent 265e47a1f4
commit a0916ebda2
3 changed files with 25 additions and 7 deletions
+3 -2
View File
@@ -9,8 +9,9 @@ from flask import (Blueprint, jsonify, request, Response, render_template)
from flask_login import login_required
from core import device_pool
from core.adb_helper import (screenshot, adb_connect, adb_connect_light,
_ADB_LOCK, _adb)
from core.adb_helper import (screenshot, list_installed_apps, adb_connect,
adb_connect_light, _ADB_LOCK, _adb)
from core.device_worker import get_all_worker_status
from web import context
from web.auth import perm_required, PERM_DEVICES
from web.common import _merged_device_list, _device_screen_state