fix PDF = undefined
This commit is contained in:
parent
4d4a95c2b9
commit
4f0eecfffe
15 changed files with 24 additions and 2 deletions
|
|
@ -256,6 +256,8 @@ async function onUpdateFilter() {
|
|||
* @param data ข้อมูลบัญชีวันลา
|
||||
*/
|
||||
async function fetchDocumentTemplate(data: any, type: string = "docx") {
|
||||
pdfSrc.value = undefined;
|
||||
page.value = 1;
|
||||
await axios
|
||||
.post(`${config.API.reportTemplate}/${type}`, data, {
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue