Handy_Cao před 1 rokem
rodič
revize
6afea28821
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      src/packages/sbyj/views/mine/index.vue

+ 3 - 2
src/packages/sbyj/views/mine/index.vue

@@ -179,7 +179,7 @@ import { queryBankAccountSign } from '@/services/api/bank'
 import { useLoginStore, useAccountStore, useUserStore, useSBYJOrderStore } from '@/stores'
 import eventBus from '@/services/bus'
 import Iconfont from '@/components/base/iconfont/index.vue'
-import { getMemberUserId } from '@/services/methods/user'
+import { getMemberUserId, getUserId } from '@/services/methods/user'
 import { queryTencentUsereSignRecords } from '@/services/api/account'
 
 const { router, routerTo } = useNavigation()
@@ -277,7 +277,8 @@ onActivated(() => {
     /// 查询数据
     queryTencentUsereSignRecords({
         data: {
-            userId: loginStore.userId
+            userId: getUserId(),
+            memberUserId: getMemberUserId()
         }
     }).then((res) => {
         /// 判断是否能签约