fix : 최근검색에 삭제 오류 수정

This commit is contained in:
jazz
2026-02-25 11:29:06 +09:00
parent e731981a26
commit 2579d5c3f9

View File

@@ -52,7 +52,11 @@
* 초기 설정
**********************************************************/
const fn_init = function() {
const recentSearches = localStorage.getItem('recentSearches');
localStorage.clear();
if (recentSearches !== null){
localStorage.setItem('recentSearches', recentSearches);
}
fn_get_spbk_goods_list();
}