mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
支持上传脚本
This commit is contained in:
@@ -15,7 +15,10 @@ class DependencyViewModel extends BaseViewModel {
|
||||
List<DependencyBean> linuxList = [];
|
||||
|
||||
Future<void> loadData(String type, [bool showLoading = true]) async {
|
||||
if (showLoading && ((type == "nodejs" && nodeJsList.isEmpty) || (type == "python3" && python3List.isEmpty) || (type == "linux" && linuxList.isEmpty))) {
|
||||
if (showLoading &&
|
||||
((type == "nodejs" && nodeJsList.isEmpty) ||
|
||||
(type == "python3" && python3List.isEmpty) ||
|
||||
(type == "linux" && linuxList.isEmpty))) {
|
||||
loading(notify: true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user