feat: 合并1.1.1,升级版本到2.0.8

This commit is contained in:
奔跑的面条
2022-09-27 20:28:47 +08:00
128 changed files with 2438 additions and 28199 deletions
@@ -138,9 +138,11 @@ const filterRes = computed(() => {
try {
const fn = new Function('data', filter.value)
const res = fn(cloneDeep(sourceData.value))
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
errorFlag.value = false
return toString(res)
} catch (error) {
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
errorFlag.value = true
return '过滤函数错误'
}
@@ -73,8 +73,10 @@ import {
imageUrl,
radarUrl,
heatMapUrl,
scatterBasicUrl
scatterBasicUrl,
mapUrl,
wordCloudUrl,
treemapUrl
} from '@/api/mock'
const { HelpOutlineIcon } = icon.ionicons5
@@ -116,6 +118,15 @@ const apiList = [
{
value: `【基础散点图】${scatterBasicUrl}`
},
{
value: `【地图数据】${mapUrl}`
},
{
value: `【词云】${wordCloudUrl}`
},
{
value: `【树图】${treemapUrl}`
},
]
</script>