0.0.1 • Published 1 year ago

@hanmotec/flex-client-api v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

动态表单和查询客户端API

使用方法

安装

npm i -D @aoss/flex-form-client-api

使用

import FlexClientAPI from "@aoss/flex-form-client-api"

const YOUR_PROJECT_CODE = 'your_project_code';
const flexProxy = new RestfulService('http://your-flex-server/', );

let flexClient = FlexClientAPI.initialize(YOUR_PROJECT_CODE, flexProxy);

读取当前租户的动态查询

await flexClient.getQuery(YOUR_QUERY_CODE);
0.0.1

1 year ago