Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit c83fd134
authored
2026-06-04 18:36:24 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
openSetting指令增加打开绑定手机号码的界面
1 parent
95c34f90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
lib/data/repositories/message/open_setting_handler.dart
lib/data/repositories/message/open_setting_handler.dart
View file @
c83fd13
...
@@ -43,6 +43,7 @@ class OpenSettingHandler extends MessageHandler {
...
@@ -43,6 +43,7 @@ class OpenSettingHandler extends MessageHandler {
'clear'
:
_handleClear
,
'clear'
:
_handleClear
,
'logout'
:
_handleLogout
,
'logout'
:
_handleLogout
,
'vconsole'
:
_handleToggleDebug
,
'vconsole'
:
_handleToggleDebug
,
'bindphone'
:
_openBindPhone
,
'wifi'
:
_openWifiSettings
,
'wifi'
:
_openWifiSettings
,
};
};
...
@@ -102,6 +103,12 @@ class OpenSettingHandler extends MessageHandler {
...
@@ -102,6 +103,12 @@ class OpenSettingHandler extends MessageHandler {
return
true
;
return
true
;
}
}
/// 打开绑定手机页面
Future
<
bool
>
_openBindPhone
()
async
{
router
.
push
(
'/account/phone'
);
return
true
;
}
/// 打开系统WIFI设置界面
/// 打开系统WIFI设置界面
Future
<
bool
>
_openWifiSettings
()
async
{
Future
<
bool
>
_openWifiSettings
()
async
{
await
AppSettings
.
openAppSettings
(
await
AppSettings
.
openAppSettings
(
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment