fix: 首页推荐数据异常
This commit is contained in:
@ -66,7 +66,7 @@ class PBadge extends StatelessWidget {
|
|||||||
border: Border.all(color: borderColor),
|
border: Border.all(color: borderColor),
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
text!,
|
text ?? '',
|
||||||
style: TextStyle(fontSize: fs ?? fontSize, color: color),
|
style: TextStyle(fontSize: fs ?? fontSize, color: color),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user