mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-08-06 17:48:43 +08:00
update: 整理demo
This commit is contained in:
@ -9,4 +9,5 @@ class Api{
|
|||||||
static const String LOGOUT = BASE_URL+'logout';//退出登陆
|
static const String LOGOUT = BASE_URL+'logout';//退出登陆
|
||||||
|
|
||||||
static const String VERSION = BASE_URL+'getAppVersion';//检查版本
|
static const String VERSION = BASE_URL+'getAppVersion';//检查版本
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1,11 @@
|
|||||||
[{"name":"name","screenShot":"","author":"name","title":"id","email":"123","desc":"desc","id":"b9ca48de_32ae_4241_9c8a_5c9e1f92b096"},{"name":"standard","screenShot":"","author":"sanfan","title":"appTitle","email":"hanxu317@qq.com","desc":"desc","id":"ee4feb8e_32ae_4241_9c8a_5c9e1f92b096"}]
|
[
|
||||||
|
{
|
||||||
|
"name": "standard",
|
||||||
|
"screenShot": "",
|
||||||
|
"author": "sanfan",
|
||||||
|
"title": "介绍页",
|
||||||
|
"email": "hanxu317@qq.com",
|
||||||
|
"desc": "desc",
|
||||||
|
"id": "ee4feb8e_32ae_4241_9c8a_5c9e1f92b096"
|
||||||
|
}
|
||||||
|
]
|
@ -2,7 +2,7 @@
|
|||||||
"name": "standard",
|
"name": "standard",
|
||||||
"screenShot": "",
|
"screenShot": "",
|
||||||
"author":"sanfan",
|
"author":"sanfan",
|
||||||
"title":"appTitle",
|
"title":"介绍页",
|
||||||
"email": "hanxu317@qq.com",
|
"email": "hanxu317@qq.com",
|
||||||
"desc": "desc",
|
"desc": "desc",
|
||||||
"id": "ee4feb8e_32ae_4241_9c8a_5c9e1f92b096"
|
"id": "ee4feb8e_32ae_4241_9c8a_5c9e1f92b096"
|
||||||
|
@ -48,7 +48,7 @@ class _CollectionPageState extends State<CollectionPage> {
|
|||||||
resultList.forEach((item) {
|
resultList.forEach((item) {
|
||||||
_collectionList.add(item);
|
_collectionList.add(item);
|
||||||
});
|
});
|
||||||
_collectionList.add(Collection(name:'test', router: '/standard-page/b9ca48de_32ae_4241_9c8a_5c9e1f92b096'));
|
_collectionList.add(Collection(name:'test', router: '/standard-page/ee4feb8e_32ae_4241_9c8a_5c9e1f92b096'));
|
||||||
print("_collectionList ${_collectionList}");
|
print("_collectionList ${_collectionList}");
|
||||||
if (this.mounted) {
|
if (this.mounted) {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
Reference in New Issue
Block a user