feat: fix an debug
This commit is contained in:
@@ -105,16 +105,16 @@ const ListContainer = (props) => {
|
||||
if (!list || list.length === 0) {
|
||||
return list;
|
||||
}
|
||||
if (userInfo.ntrp_level) {
|
||||
return list;
|
||||
}
|
||||
const lastShowTime = getStorage("list_evaluate_card");
|
||||
if (!lastShowTime) {
|
||||
setStorage("list_evaluate_card", Date.now());
|
||||
}
|
||||
if (Date.now() - Number(lastShowTime) < 30 * 24 * 60 * 60 * 1000) {
|
||||
return list;
|
||||
}
|
||||
// if (userInfo.ntrp_level) {
|
||||
// return list;
|
||||
// }
|
||||
// const lastShowTime = getStorage("list_evaluate_card");
|
||||
// if (!lastShowTime) {
|
||||
// setStorage("list_evaluate_card", Date.now());
|
||||
// }
|
||||
// if (Date.now() - Number(lastShowTime) < 30 * 24 * 60 * 60 * 1000) {
|
||||
// return list;
|
||||
// }
|
||||
if (list.length <= 3) {
|
||||
return [...list, { type: "evaluateCard" }];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user