perf: 去除全局设置中的数据配置
This commit is contained in:
parent
c05f851e02
commit
93b85f09d8
@ -1,30 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="go-chart-data-setting">
|
|
||||||
<setting-item-box name="源地址" :alone="true">
|
|
||||||
<n-input
|
|
||||||
v-model:value.trim="chartEditStore.getRequestGlobalConfig.requestOriginUrl"
|
|
||||||
placeholder="源地址如: http://127.0.0.1"
|
|
||||||
></n-input>
|
|
||||||
</setting-item-box>
|
|
||||||
<setting-item-box name="更新间隔" :alone="true">
|
|
||||||
<n-input-number
|
|
||||||
v-model:value.trim="chartEditStore.getRequestGlobalConfig.requestInterval"
|
|
||||||
min="5"
|
|
||||||
:show-button="false"
|
|
||||||
placeholder="将应用全局组件"
|
|
||||||
>
|
|
||||||
<template #suffix>
|
|
||||||
秒
|
|
||||||
</template>
|
|
||||||
</n-input-number>
|
|
||||||
</setting-item-box>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
|
|
||||||
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
|
||||||
|
|
||||||
const chartEditStore = useChartEditStore()
|
|
||||||
|
|
||||||
</script>
|
|
@ -147,9 +147,6 @@ const switchSelectColorLoading = ref(false)
|
|||||||
const ChartThemeColor = loadAsyncComponent(() =>
|
const ChartThemeColor = loadAsyncComponent(() =>
|
||||||
import('./components/ChartThemeColor/index.vue')
|
import('./components/ChartThemeColor/index.vue')
|
||||||
)
|
)
|
||||||
const ChartDataSetting = loadAsyncComponent(() =>
|
|
||||||
import('./components/ChartDataSetting/index.vue')
|
|
||||||
)
|
|
||||||
|
|
||||||
// 北京默认展示颜色列表
|
// 北京默认展示颜色列表
|
||||||
const swatchesColors = [
|
const swatchesColors = [
|
||||||
@ -169,12 +166,6 @@ const globalTabList = [
|
|||||||
title: '主题颜色',
|
title: '主题颜色',
|
||||||
icon: ColorPaletteIcon,
|
icon: ColorPaletteIcon,
|
||||||
render: ChartThemeColor
|
render: ChartThemeColor
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'ChartSysSetting',
|
|
||||||
title: '数据配置',
|
|
||||||
icon: ZAxisIcon,
|
|
||||||
render: ChartDataSetting
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user