fix: cause error when search inside value
This commit is contained in:
parent
95e48e75d3
commit
7135ae4096
|
@ -21,7 +21,7 @@ const props = defineProps({
|
|||
value: Object,
|
||||
})
|
||||
|
||||
const filterOption = computed(() => [
|
||||
const filterOption = [
|
||||
{
|
||||
value: 1,
|
||||
label: i18n.t('field'),
|
||||
|
@ -30,7 +30,7 @@ const filterOption = computed(() => [
|
|||
value: 2,
|
||||
label: i18n.t('value'),
|
||||
},
|
||||
])
|
||||
]
|
||||
const filterType = ref(1)
|
||||
|
||||
const connectionStore = useConnectionStore()
|
||||
|
|
|
@ -22,7 +22,7 @@ const props = defineProps({
|
|||
value: Object,
|
||||
})
|
||||
|
||||
const filterOption = computed(() => [
|
||||
const filterOption = [
|
||||
{
|
||||
value: 1,
|
||||
label: i18n.t('field'),
|
||||
|
@ -31,7 +31,7 @@ const filterOption = computed(() => [
|
|||
value: 2,
|
||||
label: i18n.t('value'),
|
||||
},
|
||||
])
|
||||
]
|
||||
const filterType = ref(1)
|
||||
|
||||
const connectionStore = useConnectionStore()
|
||||
|
|
|
@ -22,7 +22,7 @@ const props = defineProps({
|
|||
value: Object,
|
||||
})
|
||||
|
||||
const filterOption = computed(() => [
|
||||
const filterOption = [
|
||||
{
|
||||
value: 1,
|
||||
label: i18n.t('value'),
|
||||
|
@ -31,7 +31,7 @@ const filterOption = computed(() => [
|
|||
value: 2,
|
||||
label: i18n.t('score'),
|
||||
},
|
||||
])
|
||||
]
|
||||
const filterType = ref(1)
|
||||
|
||||
const connectionStore = useConnectionStore()
|
||||
|
|
Loading…
Reference in New Issue