调整日志

This commit is contained in:
670788339
2025-11-04 10:08:26 +08:00
parent 305a5481c8
commit 6afc19d21c

View File

@@ -184,7 +184,7 @@ export default {
return;
}
if (!this.searchResults.length && inputVal && this.selectedTags.length < this.maxTags) {
this.createNewTag(event.target.value.trim())
this.createNewTag(inputVal)
this.clearInput();
} else if (this.selectedTags.length >= this.maxTags) {
this.$message.warning('最多只能添加5个标签')