使用GenericGenerator,Elide不支持IdGeneratorType

This commit is contained in:
2025-03-28 10:26:20 +08:00
parent dd9f966597
commit e615aefaee
8 changed files with 51 additions and 19 deletions

View File

@@ -14,8 +14,7 @@ export function amisRender(target, amisJson) {
information,
{
theme: 'antd',
enableAMISDebug:
information.debug,
enableAMISDebug: information.debug,
},
)
}

View File

@@ -28,16 +28,11 @@ onMounted(() => {
type: 'form',
api: {
method: 'post',
url: `${information.baseUrl}/jsonapi/organization`,
dataType: 'application/vnd.api+json',
headers: {
'Content-Type': 'application/vnd.api+json',
},
url: `${information.baseUrl}/graphql`,
dataType: 'application/json',
data: {
type: 'user',
attributes: {
organizationName: '${organizationName}',
},
// language=GraphQL
query: 'mutation {\n organization(op: UPSERT, data: {\n organizationName: "苹果"\n }) {\n edges {\n node {\n organizationId\n organizationName\n }\n }\n }\n}',
},
},
body: [