datasource list

This commit is contained in:
zxhlyh
2025-05-26 14:13:28 +08:00
parent 324c0d7b4c
commit b5f88c77a3
8 changed files with 71 additions and 10 deletions

View File

@ -519,8 +519,6 @@ const formatItem = (
const isFile = v.type === VarType.file
const children = (() => {
if (isFile) {
if (v.children)
return v.children
return OUTPUT_FILE_SUB_VARIABLES.map((key) => {
return {
variable: key,
@ -539,8 +537,6 @@ const formatItem = (
const isFile = v.type === VarType.file
const { children } = (() => {
if (isFile) {
if (v.children)
return { children: v.children }
return {
children: OUTPUT_FILE_SUB_VARIABLES.map((key) => {
return {