go-viee-fetch-Demo/src/packages/components/Charts/HazardousChemicalsSpace/LineDropdownHaz/config.vue
gaohaifeng 83a14dd6ad feat(Charts): 添加场景ID配置并更新API调用
在HazardousChemicalsSpace图表组件中添加场景ID配置选项,并修改API调用以包含场景ID参数
同时更新vite配置中的代理设置
2025-09-03 11:41:28 +08:00

27 lines
708 B
Vue

<template>
<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>
</template>
<script setup lang="ts">
import { PropType } from 'vue'
import { option } from './config'
import { CollapseItem, SettingItemBox, SettingItem } from '@/components/Pages/ChartItemSetting'
import config from './config'
defineProps({
chartConfig: {
type: Object as PropType<config>,
required: true
},
optionData: {
type: Object as PropType<typeof option>,
required: true
}
})
</script>