mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
feat: rax-render 兼容
This commit is contained in:
parent
d9b5adbc04
commit
877d3fccc6
@ -1,4 +1,4 @@
|
||||
import { transformArrayToMap, isJSFunction, transformStringToFunction, clone } from './index';
|
||||
import { transformArrayToMap, isJSFunction, transformStringToFunction, clone, comboSkeletonConfig } from './index';
|
||||
import { jsonp, mtop, request, get, post, bzb } from './request';
|
||||
|
||||
const DS_STATUS = {
|
||||
@ -286,6 +286,12 @@ export default class DataHelper {
|
||||
headers,
|
||||
...otherProps
|
||||
});
|
||||
case 'legao':
|
||||
// todo:
|
||||
if (method === 'JSONP') {
|
||||
return jsonp(otherProps.url, params, otherProps);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
method = method.toUpperCase();
|
||||
if (method === 'GET') {
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import RaxEngine from '@ali/lowcode-rax-renderer/lib/index';
|
||||
// import RaxEngine from '@ali/lowcode-rax-renderer/lib/index';
|
||||
import RaxEngine from '../../rax-render/src/index';
|
||||
import { History } from 'history';
|
||||
import { Component, createElement, Fragment } from 'rax';
|
||||
import { useRouter } from './rax-use-router';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user