mock download bill payment
This commit is contained in:
parent
c3688918bf
commit
4bc1d60594
2 changed files with 9 additions and 2 deletions
|
|
@ -30,7 +30,7 @@
|
|||
color="gray"
|
||||
type="file"
|
||||
flat
|
||||
:factory="uploadData"
|
||||
@factory="uploadData"
|
||||
ref="uploader"
|
||||
class="full-width"
|
||||
text-color="dark"
|
||||
|
|
@ -206,7 +206,7 @@ const deleteData = async (id: string) => {
|
|||
})
|
||||
}
|
||||
|
||||
const uploadData = async (file: any) => {
|
||||
const uploadData = async (file: File[]) => {
|
||||
loader.value = true
|
||||
const blob = file.slice(0, file[0].size)
|
||||
const newFile = new File(blob, name.value, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue