mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-30 23:38:11 +00:00
refactor: 去除历史兼容逻辑
This commit is contained in:
parent
00d0b189ac
commit
3c669c6bf2
@ -179,7 +179,7 @@ export class DataHelper {
|
|||||||
const _tb_token_ = (csrfInput as any)?.value;
|
const _tb_token_ = (csrfInput as any)?.value;
|
||||||
asyncDataList.forEach((req) => {
|
asyncDataList.forEach((req) => {
|
||||||
const { id, type, options } = req;
|
const { id, type, options } = req;
|
||||||
if (!id || !type || type === 'legao') return;
|
if (!id || !type) return;
|
||||||
if (type === 'doServer') {
|
if (type === 'doServer') {
|
||||||
const { uri, params } = options || {};
|
const { uri, params } = options || {};
|
||||||
if (!uri) return;
|
if (!uri) return;
|
||||||
@ -314,4 +314,4 @@ export class DataHelper {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceType = 'fetch' | 'jsonp';
|
type DataSourceType = 'fetch' | 'jsonp';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user