Skip to content

Commit

Permalink
fix: the httpCookie is emtpy when sending request to update traffic p…
Browse files Browse the repository at this point in the history
…olicy in traffic monitor page

Signed-off-by: liyanfang <liyanfang@cmss.chinamobile.com>
  • Loading branch information
liyanfang committed Oct 14, 2022
1 parent 2d86e73 commit 2ee27ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Graph/Detail/PolicyForm/Session.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default class Session extends React.Component {
this.setState({ value }, () => {
const { type } = this.state
if (type === 'httpCookie') {
const { parsedValue, status } = parseCookie(value)
const { result: parsedValue, status } = parseCookie(value)
if (status) {
this.triggerChange({ [type]: parsedValue })
}
Expand Down

0 comments on commit 2ee27ae

Please sign in to comment.