| 123456789101112 |
- import store from '@/store';
- import { GetMemberIdByEncryptData } from '@/pagesCrm/service';
- export const useGetMemberIdByEncryptData = async (EncryptData) => {
- if (!EncryptData) return;
- const res = await GetMemberIdByEncryptData({
- EncryptData,
- });
- console.log(res);
- store.commit('setCurrentUser', res[0]);
- return res;
- };
|