- 세금계산서, 입금확인서 href 수정
This commit is contained in:
@@ -49,7 +49,7 @@ export const CashReceiptSample = ({
|
||||
const link = document.createElement('a');
|
||||
let fileName = 'cash-receipt-' + moment().format('YYMMDDHHmmss');
|
||||
link.download = fileName + '.png';
|
||||
link.href = image;
|
||||
link.href = image + '#' + fileName + '.png';
|
||||
link.click();
|
||||
snackBar(t('common.imageRequested'), function(){
|
||||
onClickToClose();
|
||||
|
||||
@@ -39,8 +39,8 @@ export const DepositReceiptSample = ({
|
||||
toPng(section).then((image) => {
|
||||
const link = document.createElement('a');
|
||||
let fileName = 'receipt-confirmation-' + moment().format('YYMMDDHHmmss');
|
||||
link.download = fileName + '.png';
|
||||
link.href = image;
|
||||
link.download = fileName + '.png';
|
||||
link.href = image + '#' + fileName + '.png';
|
||||
link.click();
|
||||
snackBar(t('common.imageRequested'), () => {
|
||||
onClickToClose();
|
||||
|
||||
Reference in New Issue
Block a user