mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-18 11:23:39 +08:00
fix(data-source): http数据源参数透传入base
This commit is contained in:
parent
bfb30923e1
commit
359806da96
@ -87,12 +87,9 @@ export default class HttpDataSource extends DataSource {
|
||||
#type = 'http';
|
||||
|
||||
constructor(options: HttpDataSourceOptions) {
|
||||
const { options: httpOptions, ...dataSourceOptions } = options.schema;
|
||||
const { options: httpOptions } = options.schema;
|
||||
|
||||
super({
|
||||
schema: dataSourceOptions,
|
||||
app: options.app,
|
||||
});
|
||||
super(options);
|
||||
|
||||
this.schema = options.schema;
|
||||
this.httpOptions = httpOptions;
|
||||
|
Loading…
x
Reference in New Issue
Block a user