mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-15 18:58:11 +00:00
fix: this 丢失问题
This commit is contained in:
parent
9c672eb404
commit
3423dc5dea
@ -2,7 +2,7 @@ import { DataSourceMap, RuntimeDataSource, RuntimeDataSourceConfig } from '@ali/
|
|||||||
import allSettled from 'promise.allsettled';
|
import allSettled from 'promise.allsettled';
|
||||||
|
|
||||||
// 兼容低版本的浏览器
|
// 兼容低版本的浏览器
|
||||||
const promiseSettled = typeof Promise.allSettled === 'function' ? Promise.allSettled : allSettled;
|
const promiseSettled = typeof Promise.allSettled === 'function' ? Promise.allSettled.bind(Promise) : allSettled;
|
||||||
|
|
||||||
export const reloadDataSourceFactory = (
|
export const reloadDataSourceFactory = (
|
||||||
dataSource: RuntimeDataSource,
|
dataSource: RuntimeDataSource,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user