feat: 异常问题处理
This commit is contained in:
1 parent
c2c4f323dc
commit
8f79f5aecf
1 file changed
+3
-1
@@ -346,7 +346,9 @@ onLoad(() => {
|
|||||||
// token存在,初始化数据
|
// token存在,初始化数据
|
||||||
const initHandler = () => {
|
const initHandler = () => {
|
||||||
console.log("initHandler");
|
console.log("initHandler");
|
||||||
if (!appStore.hasToken) return;
|
const token = uni.getStorageSync("token");
|
||||||
|
|
||||||
|
if (!token) return;
|
||||||
loadRecentConversation();
|
loadRecentConversation();
|
||||||
///loadConversationMsgList();
|
///loadConversationMsgList();
|
||||||
initWebSocket();
|
initWebSocket();
|
||||||
|
|||||||
Reference in new issue
Block a user