Merge branch 'fix'
This commit is contained in:
@ -7,5 +7,5 @@ enum DynamicsType {
|
|||||||
|
|
||||||
extension BusinessTypeExtension on DynamicsType {
|
extension BusinessTypeExtension on DynamicsType {
|
||||||
String get values => ['all', 'video', 'pgc', 'article'][index];
|
String get values => ['all', 'video', 'pgc', 'article'][index];
|
||||||
String get labels => ['全部', '视频', '追番', '专栏'][index];
|
String get labels => ['全部', '投稿', '番剧', '专栏'][index];
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,7 @@ class SSearchController extends GetxController {
|
|||||||
|
|
||||||
onLongSelect(word) {
|
onLongSelect(word) {
|
||||||
int index = historyList.indexOf(word);
|
int index = historyList.indexOf(word);
|
||||||
historyList.value = historyList.removeAt(index);
|
historyList.removeAt(index);
|
||||||
historyList.refresh();
|
historyList.refresh();
|
||||||
histiryWord.put('cacheList', historyList);
|
histiryWord.put('cacheList', historyList);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user