环境变量增加序号,详情页面

This commit is contained in:
jyuesong
2022-01-19 14:41:14 +08:00
parent 38a6790c51
commit 6185a92759
4 changed files with 493 additions and 121 deletions

View File

@@ -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);