更新代码

This commit is contained in:
feiyangqingyun
2022-01-13 11:28:44 +08:00
parent b6424990d9
commit 293fa97173
75 changed files with 938 additions and 264 deletions

View File

@@ -85,7 +85,7 @@ void AppData::loadIP(QComboBox *cbox)
//获取本机所有IP
static QStringList ips;
if (ips.count() == 0) {
#ifdef emsdk
#ifdef Q_OS_WASM
ips << "127.0.0.1";
#else
QList<QNetworkInterface> netInterfaces = QNetworkInterface::allInterfaces();