This commit is contained in:
xuyucheng 2022-03-31 10:38:58 +08:00
parent 41f77f5d04
commit d2c3a9601c
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ class Dashboard extends Component {
return item.title === value["企业名称"] + '(' + value["企业ID"] + ')' ? false : true return item.title === value["企业名称"] + '(' + value["企业ID"] + ')' ? false : true
}) })
if (state) { if (state) {
newPanes.push({ title: value["企业名称"] + '(' + value["企业ID"] + ')', content: "/manager/company/details", key: (Number(newPanes[newPanes.length - 1].key) + 1).toString() }); newPanes.push({ title: value["企业名称"] + '(' + value["企业ID"] + ')', content: "/manager/company/details", key: (Number(newPanes[newPanes.length - 1].key) + 1).toString(),id: { cid: value["企业ID"] } });
store.dispatch(operationAction(newPanes, (newPanes[newPanes.length - 1].key))) store.dispatch(operationAction(newPanes, (newPanes[newPanes.length - 1].key)))
} else { } else {
return null return null