修复自动开启传感器蓝牙日志
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user