jecovier/vue-json-excel

How do I send name and worksheet through dynamic props?

zestlee1106 opened this issue · 0 comments

This code works.

        <DownloadExcel
          name="excelName"
        >
            download
        </DownloadExcel>

But this code doesn't work.

        <DownloadExcel
          :name="excelName"
        >
            download
        </DownloadExcel>

I want to send worksheet and name by dynamic props, not text. What should I do?