feature:增加数据源一对多关系。

This commit is contained in:
pixelmaxQM
2024-05-15 21:15:41 +08:00
parent 2a0b92713b
commit 0d17340445
6 changed files with 75 additions and 18 deletions

View File

@@ -663,6 +663,10 @@ const typeOptions = ref([
{
label: 'JSON',
value: 'json',
},
{
label: '数组',
value: 'array',
}
])
@@ -716,6 +720,7 @@ const fieldTemplate = {
fieldSearchType: '',
dictType: '',
dataSource: {
association:1,
table: '',
label: '',
value: ''
@@ -810,6 +815,7 @@ const editAndAddField = (item) => {
addFlag.value = 'edit'
if(!item.dataSource){
item.dataSource = {
association:1,
table: '',
label: '',
value: ''