fix note dialog
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
36753e00ca
commit
08762ca727
3 changed files with 3 additions and 2 deletions
|
|
@ -165,6 +165,7 @@ class UserModel {
|
|||
static Future<List<dynamic>> queryLoginOptions() async {
|
||||
try {
|
||||
final url = await bind.mainGetApiServer();
|
||||
if (url.trim().isEmpty) return [];
|
||||
final resp = await http.get(Uri.parse('$url/api/login-options'));
|
||||
return jsonDecode(resp.body);
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue