使用GenericGenerator,Elide不支持IdGeneratorType
This commit is contained in:
@@ -14,8 +14,7 @@ export function amisRender(target, amisJson) {
|
||||
information,
|
||||
{
|
||||
theme: 'antd',
|
||||
enableAMISDebug:
|
||||
information.debug,
|
||||
enableAMISDebug: information.debug,
|
||||
},
|
||||
)
|
||||
}
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user