mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
环境变量增加序号,详情页面
This commit is contained in:
2
lib/module/env/env_viewmodel.dart
vendored
2
lib/module/env/env_viewmodel.dart
vendored
@@ -48,7 +48,7 @@ class EnvViewModel extends BaseViewModel {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void enableEnv(String sId, int status) async {
|
||||
Future<void> enableEnv(String sId, int status) async {
|
||||
if (status == 1) {
|
||||
HttpResponse<NullResponse> response = await Api.enableEnv(sId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user