Commit d924bdf0 by 刘帅

+ 商品管理按钮 + 超时

parent f8b41bc5
......@@ -87,8 +87,13 @@ MainWindow::MainWindow(QWidget *parent) :
FlowControl::Instance().GetDailyInfo();
});
//商品管理
connect(ui->main_btnSPGL, &QPushButton::clicked, []()
connect(ui->main_btnSPGL, &QPushButton::clicked, [this]()
{
this->ui->main_btnSPGL->setEnabled(false);
QTimer::singleShot(8000, this, [this]()
{
this->ui->main_btnSPGL->setEnabled(true);
});
FlowControl::Instance()._onGetMenu();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment