fix: 自动定位到标签页
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -373,14 +373,14 @@ const newCreateLabelDialogInfo = ref({ | ... | @@ -373,14 +373,14 @@ const newCreateLabelDialogInfo = ref({ |
| 373 | if (valid) { | 373 | if (valid) { |
| 374 | submitLabel(); | 374 | submitLabel(); |
| 375 | } else { | 375 | } else { |
| 376 | tabsInfo.value.activeName == 'labelRuleContent'; | 376 | tabsInfo.value.activeName = 'labelRuleContent'; |
| 377 | } | 377 | } |
| 378 | }) | 378 | }) |
| 379 | } else { | 379 | } else { |
| 380 | ruleContentFormRef.value?.ruleFormRef?.validate((valid, errorItem) => { | 380 | ruleContentFormRef.value?.ruleFormRef?.validate((valid, errorItem) => { |
| 381 | if (valid) { | 381 | if (valid) { |
| 382 | if (!validateRuleField()) { | 382 | if (!validateRuleField()) { |
| 383 | tabsInfo.value.activeName == 'labelRuleField'; | 383 | tabsInfo.value.activeName = 'labelRuleField'; |
| 384 | return; | 384 | return; |
| 385 | } | 385 | } |
| 386 | submitLabel(); | 386 | submitLabel(); | ... | ... |
-
Please register or sign in to post a comment