xhb opened this issue 6 years ago · 1 comments
请问下在 chat-input.js 里面的这个函数中,getNetworkConnected 是在哪里定义的?
function checkRecordAuth(cbOk, cbError) { if (getApp().getNetworkConnected) { .... } ... }
很抱歉这么晚回答你,这个变量是我老项目中才有的,忘了删掉了。我是在app.js中定义的,用于获取当前网络是否可用。