mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-09-25 23:54:31 +08:00
完成调试
This commit is contained in:
@ -50,4 +50,15 @@ class DataUtils {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/// 获取widget列表处的树型数据
|
||||
static Future<List> getWidgetTreeList() async {
|
||||
var response = await NetUtils.get(Api.GET_WIDGET_TREE);
|
||||
|
||||
if (response['success']) {
|
||||
return response['data'];
|
||||
} else {
|
||||
return [];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user