mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
支持上传脚本
This commit is contained in:
8
lib/module/env/add_env_page.dart
vendored
8
lib/module/env/add_env_page.dart
vendored
@@ -186,8 +186,12 @@ class _AddEnvPageState extends ConsumerState<AddEnvPage> {
|
||||
envBean.value = _valueController.text;
|
||||
envBean.remarks = _remarkController.text;
|
||||
HttpResponse<NullResponse> response = await Api.addEnv(
|
||||
_nameController.text, _valueController.text, _remarkController.text,
|
||||
id: envBean.id,nId: envBean.nId,);
|
||||
_nameController.text,
|
||||
_valueController.text,
|
||||
_remarkController.text,
|
||||
id: envBean.id,
|
||||
nId: envBean.nId,
|
||||
);
|
||||
|
||||
if (response.success) {
|
||||
(envBean.sId == null) ? "新增成功" : "修改成功".toast();
|
||||
|
||||
Reference in New Issue
Block a user