前端导出Excel文件String类型变成科学计数

157 阅读1分钟

解决方案

const myVal = {
  ...val,
  record_id: `\t ${val.record_id}`,
};

说明:当val.record_id时,前面只需添加 \t