fix:【我的页-增值服务-实名认证 首次购买后点左上箭头退不到APP,在购物车是空的和订单提交成功界面来回切换(首次买高级功能一样)】

https://www.tapd.cn/69273997/bugtrace/bugs/view/1169273997001002869
This commit is contained in:
Liuyf 2024-09-23 20:23:05 +08:00
parent 70431731d3
commit adf630b9ae

View File

@ -17,6 +17,7 @@ class TitleAppBar extends AppBar {
final bool? haveOtherLeftWidget;
final Widget? leftWidget;
List<Widget>? actionsList;
final double? leadingWidth;
TitleAppBar(
{Key? key,
@ -30,6 +31,7 @@ class TitleAppBar extends AppBar {
this.haveBack,
this.backAction,
this.haveOtherLeftWidget = false,
this.leadingWidth,
this.leftWidget})
: super(key: key);
@ -42,6 +44,7 @@ class _TitleAppBarState extends State<TitleAppBar> {
Widget build(BuildContext context) {
return AppBar(
elevation: 0,
leadingWidth: widget.leadingWidth,
leading: widget.haveOtherLeftWidget!
? widget.leftWidget
: (widget.haveBack ?? false