update: 整理demo

This commit is contained in:
sanfan.hx
2019-06-15 17:18:49 +08:00
parent 180f67e4d0
commit acfe81b5d1
4 changed files with 15 additions and 4 deletions

View File

@ -9,4 +9,5 @@ class Api{
static const String LOGOUT = BASE_URL+'logout';//退出登陆
static const String VERSION = BASE_URL+'getAppVersion';//检查版本
}
}

View File

@ -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"
}
]

View File

@ -2,7 +2,7 @@
"name": "standard",
"screenShot": "",
"author":"sanfan",
"title":"appTitle",
"title":"介绍页",
"email": "hanxu317@qq.com",
"desc": "desc",
"id": "ee4feb8e_32ae_4241_9c8a_5c9e1f92b096"

View File

@ -48,7 +48,7 @@ class _CollectionPageState extends State<CollectionPage> {
resultList.forEach((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}");
if (this.mounted) {
setState(() {