fix: 标题&未登录收藏夹

This commit is contained in:
guozhigq
2023-06-23 19:39:47 +08:00
parent f0b4bde42e
commit 4a94b6ba8c
8 changed files with 42 additions and 12 deletions

View File

@ -57,7 +57,15 @@ class VideoIntroController extends GetxController {
preRender = true;
var args = Get.arguments['videoItem'];
videoItem!['pic'] = args.pic;
videoItem!['title'] = args.title;
if (args.title is String) {
videoItem!['title'] = args.title;
} else {
String str = '';
for (Map map in args.title) {
str += map['text'];
}
videoItem!['title'] = str;
}
if (args.stat != null) {
videoItem!['stat'] = args.stat;
}