1.添加判断,如果mqtt返回userid为空,则不调接口

This commit is contained in:
2026-03-25 11:21:11 +08:00
parent e8b30a8f7c
commit 50bb0fec16
+1 -1
View File
@@ -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()