💪 optimize: 优化计划列表代码

This commit is contained in:
wangsongsole 2023-10-25 14:37:39 +08:00
parent 79088a1857
commit 04d2aa67e1
1 changed files with 2 additions and 3 deletions

View File

@ -637,8 +637,7 @@ export default class acclist extends React.Component {
} }
iptSureFn(e) { iptSureFn(e) {
this.setState({ page: 1 }) this.setState({ page: 1, limit: 10 })
this.setState({ limit: 10 })
let data = { let data = {
page: 1, page: 1,
limit: 10, limit: 10,
@ -695,8 +694,8 @@ export default class acclist extends React.Component {
] ]
} }
] ]
sessionStorage.setItem("breakchangenav", JSON.stringify(editarr))
sessionStorage.setItem("breakchangenav", JSON.stringify(editarr))
sessionStorage.setItem("plan_id_copy", row.id) sessionStorage.setItem("plan_id_copy", row.id)
sessionStorage.setItem("plan_status", row.status) sessionStorage.setItem("plan_status", row.status)
sessionStorage.setItem("approval_id", row.approval_id) sessionStorage.setItem("approval_id", row.approval_id)