Skip to content

Commit

Permalink
refactor: optimize expand object assignment in ReplicationTour.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
cn-xufei committed Nov 24, 2023
1 parent 4d7aa2a commit 8c095a6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions apps/dfs/src/components/ReplicationTour.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,11 @@ export default {
this.$emit('finish')
const { expand } = this.$store.state.guide
Object.assign(expand, { continueUse: this.continueUse, suggestion: this.suggestion })
this.$axios.post('api/tcm/user_guide', {
expand: {
...expand,
continueUse: this.continueUse,
suggestion: this.suggestion
}
expand
})
}
}
Expand Down

0 comments on commit 8c095a6

Please sign in to comment.