Skip to content

Commit 3c669c6

Browse files
woshilaogeliujuping
authored andcommitted
refactor: 去除历史兼容逻辑
1 parent 00d0b18 commit 3c669c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/renderer-core/src/utils/data-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export class DataHelper {
179179
const _tb_token_ = (csrfInput as any)?.value;
180180
asyncDataList.forEach((req) => {
181181
const { id, type, options } = req;
182-
if (!id || !type || type === 'legao') return;
182+
if (!id || !type) return;
183183
if (type === 'doServer') {
184184
const { uri, params } = options || {};
185185
if (!uri) return;
@@ -314,4 +314,4 @@ export class DataHelper {
314314
}
315315
}
316316

317-
type DataSourceType = 'fetch' | 'jsonp';
317+
type DataSourceType = 'fetch' | 'jsonp';

0 commit comments

Comments
 (0)