(data)
| 300 | |
| 301 | // 双平台log输出 |
| 302 | function DoubleLog(data) { |
| 303 | if ($.isNode()) { |
| 304 | if (data) { |
| 305 | console.log(`${data}`); |
| 306 | $.notifyMsg.push(`${data}`); |
| 307 | } |
| 308 | } else { |
| 309 | console.log(`${data}`); |
| 310 | $.notifyMsg.push(`${data}`); |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | // DEBUG |
| 315 | function debug(text, title = 'debug') { |