cd982463 by lihua

fix: 自动定位到标签页

1 parent e54fb4ec
...@@ -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();
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!