|
@@ -368,7 +368,7 @@ const PSRDetail = () => {
|
|
|
setExcelData({ ...data, name });
|
|
|
setHistoryOpen(false);
|
|
|
const jsonData = JSON.parse(data.json_data);
|
|
|
- console.log(jsonData);
|
|
|
+ console.log(data);
|
|
|
|
|
|
jsonData.map((item) => {
|
|
|
if (item.celldata && typeof item.celldata == 'string')
|
|
@@ -467,6 +467,8 @@ const PSRDetail = () => {
|
|
|
if (res.data[0].ver_type == 1) name = '原始版本';
|
|
|
if (res.data[0].ver_type == 2) name = '基础版本';
|
|
|
|
|
|
+ console.log('------------------', res.data);
|
|
|
+
|
|
|
const isOrigin = res.data[0].ver_type == 1 ? 1 : 0;
|
|
|
setIsOriginVer(isOrigin);
|
|
|
setExcelData({ ...res.data[0], name });
|