mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +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';
|
||||
|
||||
// 兼容低版本的浏览器
|
||||
const promiseSettled = typeof Promise.allSettled === 'function' ? Promise.allSettled : allSettled;
|
||||
const promiseSettled = typeof Promise.allSettled === 'function' ? Promise.allSettled.bind(Promise) : allSettled;
|
||||
|
||||
export const reloadDataSourceFactory = (
|
||||
dataSource: RuntimeDataSource,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user