修复返回键出现错误问题

This commit is contained in:
柚子 2022-12-11 11:59:59 +08:00
parent b5495fa66e
commit 8ad1156e3c

View File

@ -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();