From 3c669c6bf20a00190af588cdd419ba89377d6575 Mon Sep 17 00:00:00 2001 From: woshilaoge <785431601@qq.com> Date: Wed, 6 Apr 2022 14:30:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=8E=BB=E9=99=A4=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E5=85=BC=E5=AE=B9=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/renderer-core/src/utils/data-helper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/renderer-core/src/utils/data-helper.ts b/packages/renderer-core/src/utils/data-helper.ts index 50564937a..59c6aebef 100644 --- a/packages/renderer-core/src/utils/data-helper.ts +++ b/packages/renderer-core/src/utils/data-helper.ts @@ -179,7 +179,7 @@ export class DataHelper { const _tb_token_ = (csrfInput as any)?.value; asyncDataList.forEach((req) => { const { id, type, options } = req; - if (!id || !type || type === 'legao') return; + if (!id || !type) return; if (type === 'doServer') { const { uri, params } = options || {}; if (!uri) return; @@ -314,4 +314,4 @@ export class DataHelper { } } -type DataSourceType = 'fetch' | 'jsonp'; \ No newline at end of file +type DataSourceType = 'fetch' | 'jsonp';