[deepLink] V2 조건문 추가

This commit is contained in:
jangheon Pyo
2024-05-23 17:05:10 +09:00
parent cc903be8c9
commit 038c20121d

View File

@@ -4,7 +4,7 @@ import { panel_names } from "../utils/Config";
//V2_진입경로코드_진입경로명_MT_노출순번
export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
const tokens = contentTarget.split("_");
if (tokens[0] === "V3") {
if (tokens[0] === "V2" || tokens[0] === "V3") {
const linkTpCd = tokens[1]; // 진입경로코드
const linkTpName = tokens[2]; // 진입경로명
const type = tokens[3]; // 링크 타입.