修改屏蔽控制台输出方式

hmxc
张萌 3 years ago
parent 58f4e0fcce
commit f4d3bb7e04

@ -54,8 +54,8 @@ class WebSocketUtil {
///
Function? onClosed;
///
bool _consolePrint = false;
///
bool _consolePrint = true;
///websocket
void initWebSocket(
@ -201,7 +201,7 @@ class WebSocketUtil {
//print
void _dPrint(dynamic data) {
if (!this._consolePrint) {
if (this._consolePrint) {
print(data);
}
}

Loading…
Cancel
Save