diff --git a/Cunkebao/src/store/module/ckchat/ckchat.ts b/Cunkebao/src/store/module/ckchat/ckchat.ts index dfeccf49..3ac0ba7f 100644 --- a/Cunkebao/src/store/module/ckchat/ckchat.ts +++ b/Cunkebao/src/store/module/ckchat/ckchat.ts @@ -236,7 +236,8 @@ export const useCkChatStore = createPersistStore( state.getContractList(); } }, - getSomeContractList: async kfSelected => { + //获取特定联系人 + getSomeContractList: (kfSelected: number) => { const state = useCkChatStore.getState(); return state.contractList.filter( item => item.wechatAccountId === kfSelected,