When using vue-json-excel to export a table in a vue project, the following problems occur:
If there is a long number string in the data to be exported (such as "2415746843132487"), after exporting excel, excel will automatically convert the long number string into scientific notation.
Solution:
Modify the vue-json-excel source code and add style="mso-number-format:'@';" to the td tag to solve it
The effect after the solution:
Reprinted at: https://www.cnblogs.com/Airon-wei/p/10942562.html