修复自动开启传感器蓝牙日志

This commit is contained in:
wyf
2025-12-08 15:45:40 +08:00
parent 8285599aa9
commit ba145ba26f
4 changed files with 30 additions and 25 deletions

View File

@@ -358,21 +358,19 @@ class _DeviceDataComponentWidgetState extends State<DeviceDataComponentWidget> {
// WIFI 配置 —— 单独判断
if (hasBasePermission || hasWifiPermission) {
if (hasWifiPermission) {
items.add(
_buildMenuItem(
text: "WIFI配置".tr,
onTap: () {
setState(() {
_isPopupOpen = false;
});
_popupEntry?.remove();
_popupEntry = null;
dealWifi(widget.device);
},
),
);
}
items.add(
_buildMenuItem(
text: "WIFI配置".tr,
onTap: () {
setState(() {
_isPopupOpen = false;
});
_popupEntry?.remove();
_popupEntry = null;
dealWifi(widget.device);
},
),
);
// 下面这些 **只受 hasBasePermission 影响**
if (hasBasePermission) {

View File

@@ -690,7 +690,7 @@ class _MinePageState extends State<MinePage> {
mainAxisSize: MainAxisSize.max,
children: [
Text(
'V1.0.2512.03',
'V1.0.2512.08',
style: TextStyle(
fontFamily: 'Inter',
// color: Color(0xFFD9E3EB),

View File

@@ -44,8 +44,8 @@ class WebviewTestController extends GetControllerEx<WebviewTestModel> {
web = WebviewHelper(
isheadless: false,
jsbridge: buildsdk(
// father: this,
// clientId: '494641114',
father: this,
clientId: '494641114',
// clientId: '123',
// dbgserverUrl: 'ws://192.168.1.2:9001',
),