mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-27 15:50:58 +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';
|
import { jsonp, mtop, request, get, post, bzb } from './request';
|
||||||
|
|
||||||
const DS_STATUS = {
|
const DS_STATUS = {
|
||||||
@ -286,6 +286,12 @@ export default class DataHelper {
|
|||||||
headers,
|
headers,
|
||||||
...otherProps
|
...otherProps
|
||||||
});
|
});
|
||||||
|
case 'legao':
|
||||||
|
// todo:
|
||||||
|
if (method === 'JSONP') {
|
||||||
|
return jsonp(otherProps.url, params, otherProps);
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
method = method.toUpperCase();
|
method = method.toUpperCase();
|
||||||
if (method === 'GET') {
|
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 { History } from 'history';
|
||||||
import { Component, createElement, Fragment } from 'rax';
|
import { Component, createElement, Fragment } from 'rax';
|
||||||
import { useRouter } from './rax-use-router';
|
import { useRouter } from './rax-use-router';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user