fix : 최근검색에 삭제 오류 수정
This commit is contained in:
@@ -52,7 +52,11 @@
|
|||||||
* 초기 설정
|
* 초기 설정
|
||||||
**********************************************************/
|
**********************************************************/
|
||||||
const fn_init = function() {
|
const fn_init = function() {
|
||||||
|
const recentSearches = localStorage.getItem('recentSearches');
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
|
if (recentSearches !== null){
|
||||||
|
localStorage.setItem('recentSearches', recentSearches);
|
||||||
|
}
|
||||||
|
|
||||||
fn_get_spbk_goods_list();
|
fn_get_spbk_goods_list();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user