fix: keyStore.selectedType (string | null) 传参类型不匹配
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user