This commit is contained in:
2025-06-12 17:20:17 +08:00
parent 2fb0db8c29
commit cdfd37f919
4 changed files with 4 additions and 4 deletions
@@ -72,7 +72,7 @@ export default defineComponent({
const key = match.replace(/[{}]/g, '')
// Only access if key matches the expected pattern
if (/^value.+/.test(key)) {
const value = skillInfo.value?.attribute.optionValue[key as `value${string}`]
const value = skillInfo.value?.attribute.optionValue[key as `value${string}`] ?? '-'
if (value) {
a = a.replace(
match,