How does the vue integrated Export2Excel.js plug-in style the export table?

recent development project has a function to export table data, Baidu studied some older tutorials, selected the Export2Excel.js plug-in, the function can be achieved, but now the exported table is only the most basic style, if you want to export a style table, how to set? (for example, set the head column of the table to be in red font, what is the column width of a column, etc.)

Sep.03,2021

just use the native one

// a
<a v-show="false" ref="Export"></a>

// 
<button @click="daochu"></button>
//
methods:{
    daochu() {
      this.$axios.post("/url",data).then(response=> {
        let url = window.URL.createObjectURL(new Blob([response.data]));
        //[ ]responsrespons.data
        let el = this.$refs.exportExcel;//
        el.href = url;// 
        el.setAttribute("download", ".xlsx"); //
        el.click();
        window.URL.revokeObjectURL(url);// 
      });
    },
}


have you solved the problem? I also encountered the same requirement that could not be solved

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eafcf2-227c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eafcf2-227c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?