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