mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-08 04:12:21 +08:00
修复返回键出现错误问题
This commit is contained in:
parent
b5495fa66e
commit
8ad1156e3c
@ -245,7 +245,7 @@ void MainWindow::initConfig()
|
||||
void MainWindow::switchPage(int now) //临时方案,回家后修改
|
||||
{
|
||||
qDebug() << pageHistory.count();
|
||||
if (pageHistory.count() >= 0) {
|
||||
if (pageHistory.count() >= 1) {
|
||||
backButtom->show();
|
||||
} else {
|
||||
backButtom->hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user