opt: 专栏内容可选

This commit is contained in:
guozhigq
2024-10-07 22:51:02 +08:00
parent 16847b8a92
commit a366f5d3ce
3 changed files with 8 additions and 7 deletions

View File

@ -21,7 +21,7 @@ class ReadPageController extends GetxController {
super.onInit();
title.value = Get.parameters['title'] ?? '';
id = Get.parameters['id']!;
articleType = Get.parameters['articleType']!;
articleType = Get.parameters['articleType'] ?? 'read';
url = 'https://www.bilibili.com/read/cv$id';
scrollController.addListener(_scrollListener);
fetchViewInfo();