feat. header 컴포넌트 반응형 제작
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import { csrDecodedJWT } from '#layers/utils/jwtUtil'
|
||||
/**
|
||||
* Stove 유틸리티 함수
|
||||
* @description Stove 관련 유틸리티 함수를 제공합니다.
|
||||
*/
|
||||
|
||||
import { csrFormatJWT } from '#layers/utils/formatUtil'
|
||||
|
||||
/**
|
||||
* Stove 로그인
|
||||
@@ -25,7 +30,7 @@ export const csrGetStoveMemberNo = () => {
|
||||
|
||||
if (suat.value && suat.value !== '') {
|
||||
const base64Payload = suat.value?.split('.')[1] ?? ''
|
||||
const decodeVal = csrDecodedJWT(base64Payload)
|
||||
const decodeVal = csrFormatJWT(base64Payload)
|
||||
memberNo = Number(`${decodeVal.member_no}`) || 0
|
||||
} else {
|
||||
memberNo = 0
|
||||
|
||||
Reference in New Issue
Block a user