Explorar o código

修改psr命名不一致问题

Renxy hai 1 ano
pai
achega
c9e5625ecd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/pages/PSRManage/detail.js

+ 1 - 1
src/pages/PSRManage/detail.js

@@ -362,7 +362,7 @@ const PSRDetail = () => {
     formatResult: (res) => {
       if (res?.data) {
         let data = res.data;
-        let name = dayjs(data.day).format('YYYY-MM');
+        let name = `${titleRef.current}${dayjs(data.day).format('YYYY-MM')}`;
         if (data.ver_type == 1) name = '原始版本';
         if (data.ver_type == 2) name = '基础版本';
         setExcelData({ ...data, name });