Skip to content

Commit

Permalink
perf(node config): update setting API delete the 'tag_regex' field
Browse files Browse the repository at this point in the history
  • Loading branch information
orangegzx authored and ysfscream committed Sep 20, 2022
1 parent b67f7f9 commit 7c09a8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/composables/config/useNodeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ export default (props: Props) => {
try {
await formCom.value.validate()
isSubmitting.value = true
const { tag_regex } = configForm.value
if (tag_regex !== undefined) {
delete configForm.value.tag_regex
}
await submitNodeConfig(node.value, configForm.value)
EmqxMessage.success(t('common.submitSuccess'))
router.back()
Expand Down

0 comments on commit 7c09a8c

Please sign in to comment.