[deepLink] V2 조건문 추가
This commit is contained in:
@@ -4,7 +4,7 @@ import { panel_names } from "../utils/Config";
|
|||||||
//V2_진입경로코드_진입경로명_MT_노출순번
|
//V2_진입경로코드_진입경로명_MT_노출순번
|
||||||
export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
|
export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
|
||||||
const tokens = contentTarget.split("_");
|
const tokens = contentTarget.split("_");
|
||||||
if (tokens[0] === "V3") {
|
if (tokens[0] === "V2" || tokens[0] === "V3") {
|
||||||
const linkTpCd = tokens[1]; // 진입경로코드
|
const linkTpCd = tokens[1]; // 진입경로코드
|
||||||
const linkTpName = tokens[2]; // 진입경로명
|
const linkTpName = tokens[2]; // 진입경로명
|
||||||
const type = tokens[3]; // 링크 타입.
|
const type = tokens[3]; // 링크 타입.
|
||||||
|
|||||||
Reference in New Issue
Block a user