2025-08-26 15:43:53 +08:00
|
|
|
<template>
|
2025-09-03 11:41:28 +08:00
|
|
|
<collapse-item name="信息" :expanded="true">
|
|
|
|
<setting-item-box name="场景ID" :alone="true">
|
|
|
|
<setting-item>
|
|
|
|
<n-input v-model:value="optionData.sceneId" type="textarea" size="small"></n-input>
|
|
|
|
</setting-item>
|
|
|
|
</setting-item-box>
|
|
|
|
</collapse-item>
|
2025-08-26 15:43:53 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { PropType } from 'vue'
|
2025-09-03 11:41:28 +08:00
|
|
|
import { option } from './config'
|
|
|
|
import { CollapseItem, SettingItemBox, SettingItem } from '@/components/Pages/ChartItemSetting'
|
2025-08-26 15:43:53 +08:00
|
|
|
import config from './config'
|
|
|
|
|
|
|
|
defineProps({
|
|
|
|
chartConfig: {
|
|
|
|
type: Object as PropType<config>,
|
|
|
|
required: true
|
2025-09-03 11:41:28 +08:00
|
|
|
},
|
|
|
|
optionData: {
|
|
|
|
type: Object as PropType<typeof option>,
|
|
|
|
required: true
|
2025-08-26 15:43:53 +08:00
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|