refactor: 去除历史兼容逻辑

This commit is contained in:
woshilaoge 2022-04-06 14:30:36 +08:00 committed by 橘皮
parent 00d0b189ac
commit 3c669c6bf2

View File

@ -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;