1.添加判断,如果mqtt返回userid为空,则不调接口
This commit is contained in:
@@ -257,7 +257,7 @@
|
||||
// if (data.message?.type === 'rankingFileUpdate') {
|
||||
// this.initSwiperData()
|
||||
// } else {
|
||||
this.initData(data.message?.userId);
|
||||
if(data.message?.userId) this.initData(data.message?.userId);
|
||||
// }
|
||||
} else {
|
||||
this.initSwiperData()
|
||||
|
||||
Reference in New Issue
Block a user