perf: 优化过滤器体验,提示错误内容

This commit is contained in:
奔跑的面条
2023-02-09 11:29:23 +08:00
parent 4ec1bbd912
commit d7aa41094b
2 changed files with 16 additions and 11 deletions
@@ -150,7 +150,7 @@ const filterRes = computed(() => {
} catch (error) {
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
errorFlag.value = true
return '过滤函数错误'
return `过滤函数错误,日志:${error}`
}
})