mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-30 00:00:05 +08:00
feat: 合并1.1.1,升级版本到2.0.8
This commit is contained in:
+2
@@ -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 '过滤函数错误'
|
||||
}
|
||||
|
||||
+13
-2
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user