fix: baseUrl, condition
This commit is contained in:
parent
6942d5af64
commit
893b0a8c2a
2 changed files with 4 additions and 4 deletions
|
|
@ -397,7 +397,7 @@ async function fetchBranchById(id: string) {
|
|||
formBankBook.value = formBankBook.value.map((v) => {
|
||||
return {
|
||||
...v,
|
||||
bankUrl: `${apiBaseUrl}/branch/${res.id}/bank-qr/${v.id}?ts=${Date.now()}`,
|
||||
bankUrl: `${baseUrl}/branch/${res.id}/bank-qr/${v.id}?ts=${Date.now()}`,
|
||||
};
|
||||
});
|
||||
|
||||
|
|
@ -833,7 +833,7 @@ watch(
|
|||
watch(
|
||||
() => qrCodeFile.value,
|
||||
() => {
|
||||
if (qrCodeFile !== null) isQrCodeEdit.value = true;
|
||||
if (qrCodeFile.value !== null) isQrCodeEdit.value = true;
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue