|
@@ -57,7 +57,7 @@ function Auth(props) {
|
|
|
let version = {};
|
|
|
if (item.type == 'checked') {
|
|
|
version = checkedVersionList.find(v => v.id == item.id);
|
|
|
- // localStorage.excelItem = JSON.stringify(version);
|
|
|
+ localStorage.excelItem = JSON.stringify(version);
|
|
|
router.push(`/home/detail/${item.project_id}/${item.template_id}?version_id=${version.version_id}`);
|
|
|
} else {
|
|
|
//调用接口获取version信息
|
|
@@ -66,7 +66,7 @@ function Auth(props) {
|
|
|
payload: { template_node_id: item.node_id },
|
|
|
callback: checkedVersionList => {
|
|
|
let version = checkedVersionList.find(v => v.id == item.id) || {};
|
|
|
- // localStorage.excelItem = JSON.stringify(version);
|
|
|
+ localStorage.excelItem = JSON.stringify(version);
|
|
|
router.push(`/home/detail/${item.project_id}/${item.template_id}?version_id=${version.version_id}`);
|
|
|
},
|
|
|
});
|