mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(System Management): Supports system variables
This commit is contained in:
@@ -74,7 +74,16 @@ const dfsInit = (arr: any[]) => {
|
||||
const child = dfsInit(items)
|
||||
elementList.push({ logic, child })
|
||||
} else {
|
||||
const { enum_value, field_id, filter_type, term, value, field, value_type, variable_id } = ele
|
||||
const {
|
||||
enum_value,
|
||||
field_id,
|
||||
filter_type,
|
||||
term,
|
||||
value,
|
||||
field,
|
||||
value_type = 'normal',
|
||||
variable_id = '',
|
||||
} = ele
|
||||
const { name } = field || {}
|
||||
elementList.push({
|
||||
enum_value: enum_value.join(','),
|
||||
|
||||
@@ -22,8 +22,8 @@ const keywords = ref('')
|
||||
const oldKeywords = ref('')
|
||||
const searchLoading = ref(false)
|
||||
|
||||
const selectable = () => {
|
||||
return true
|
||||
const selectable = (row: any) => {
|
||||
return ![1, 2, 3].includes(row.id)
|
||||
}
|
||||
onMounted(() => {
|
||||
search()
|
||||
|
||||
Reference in New Issue
Block a user