mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 01:36:52 +00:00
fix(sdk): cannot convert a symbol value to a string
Some checks are pending
Build docker image / build-and-push (push) Waiting to run
Build pro image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase frontEnd test / frontend-test (18) (push) Waiting to run
Some checks are pending
Build docker image / build-and-push (push) Waiting to run
Build pro image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase frontEnd test / frontend-test (18) (push) Waiting to run
This commit is contained in:
parent
cdc2d62842
commit
72867c6acb
@ -363,7 +363,7 @@ export class APIClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let url = name.split('.').join(`/${encodeURIComponent(of) || '_'}/`);
|
let url = name.split('.').join(`/${encodeURIComponent(of) || '_'}/`);
|
||||||
url += `:${actionName}`;
|
url += `:${actionName.toString()}`;
|
||||||
const config: AxiosRequestConfig = { url };
|
const config: AxiosRequestConfig = { url };
|
||||||
if (['get', 'list'].includes(actionName)) {
|
if (['get', 'list'].includes(actionName)) {
|
||||||
config['method'] = 'get';
|
config['method'] = 'get';
|
||||||
|
Loading…
Reference in New Issue
Block a user