fix: keyStore.selectedType (string | null) 传参类型不匹配

This commit is contained in:
2026-07-11 15:44:13 +08:00
parent 54350b152e
commit 99f8a8b250
+1 -1
View File
@@ -173,7 +173,7 @@ async function refreshKey() {
<ReJsonEditor v-else-if="['ReJSON-RL', 'json', 'tair-json'].includes(keyStore.selectedType || '')" />
<div v-else class="unsupported">
<el-icon><Warning /></el-icon>
<p>{{ t('key.unsupported', { type: keyStore.selectedType }) }}</p>
<p>{{ t('key.unsupported', { type: keyStore.selectedType ?? 'unknown' }) }}</p>
</div>
</div>