찜하기 완료 후 2초 후 자동으로 창을 닫는 기능 추가
This commit is contained in:
parent
7e9dc74a61
commit
a532433d9a
6
zzim.js
6
zzim.js
|
|
@ -1123,6 +1123,9 @@ class ZzimManager {
|
|||
if (this.zzimInProgress) {
|
||||
this.hideProgress();
|
||||
this.showSuccess(`내 마켓 찜하기 완료! ${markets.length}개 마켓 처리됨`);
|
||||
setTimeout(() => {
|
||||
window.close();
|
||||
}, 2000); // 2초 후 창 닫기
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
|
|
@ -1179,6 +1182,9 @@ class ZzimManager {
|
|||
if (this.zzimInProgress) {
|
||||
this.hideProgress();
|
||||
this.showSuccess(`품앗이 찜하기 완료! ${mutualMarkets.length}개 마켓 처리됨`);
|
||||
setTimeout(() => {
|
||||
window.close();
|
||||
}, 2000); // 2초 후 창 닫기
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue