This commit is contained in:
2025-01-17 19:29:43 +08:00
parent ea5e5d2fc4
commit be0805c45a
9 changed files with 1720 additions and 389 deletions

View File

@@ -42,7 +42,7 @@ export default {
str = capitalizeFirstLetter(str);
// 添加蓝色标签
const regex = /\[\d+(?:,\d+)*\]/g;
const regex = /\[(\d+(?:\d+)?(?:,\d+(?:\d+)?)*)\]/g;;
if (regex.test(str)) {
str = `<blue>${str}</blue>`;
}