修复类型判定导致死循环的bug

This commit is contained in:
2025-09-29 14:49:35 +08:00
parent 3e25ea5714
commit daee60c469

View File

@@ -37,7 +37,7 @@ int main() {
int choice;
std::string name;
double price;
bool type;
int type;
std::string expirationDate;// 过期日期
std::string msgboxTitle, msgboxContent;// 消息框标题和内容
displayMenu();