feat: 问题分割兼容 | ; &

This commit is contained in:
2025-08-10 17:18:33 +08:00
parent fee7fda208
commit ff855fc2eb
2 changed files with 1 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ const handleClick = (item) => {
}
onMounted(() => {
tags.value = props.question.split('&').filter(tag => tag.trim() !== '')
tags.value = props.question.split(/[&|;]/).filter(tag => tag.trim() !== '')
nextTick(() => {
setTimeout(() => {
uni.$emit(SCROLL_TO_BOTTOM, true)