How to set an in iview, you can download files

                {
                    title: "",
                    key: "action",
                    width: 250,
                    align: "center",
                    render: (h, params) => {
                        return h("div", [
                            h("a", {
                                props: {

                                },
                                style: {
                                    marginRight: "10px"
                                },
                                on: {
                                    click:()=>{
                                        const downLoad=params.row.filename;
                                    }
                                }
                            }, ""),
                        ]);
                    }
                }
                adownload
Mar.16,2021

just write the download file path on the href attribute


<a href='...' download ></a>

set the download property to specify the download file name in chrome and firefox download='xxx.png'

Menu