mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
fix obs components display
This commit is contained in:
@@ -90,7 +90,7 @@ onMounted(() => {
|
||||
<template>
|
||||
<NEmpty v-if="!config" description="此模板不支持配置" />
|
||||
<NForm v-else>
|
||||
<NFormItem v-for="item in config.items" :key="item.name" :label="item.name">
|
||||
<NFormItem v-for="item in config.items" :key="item.name.toString()" :label="item.name.toString()">
|
||||
<component v-if="item.type == 'render'" :is="item.render(configData)"></component>
|
||||
<template v-else-if="item.type == 'string'">
|
||||
<NInput v-if="item.data" :value="configData[item.key]" @update:value="configData[item.key] = $event" />
|
||||
|
||||
Reference in New Issue
Block a user