feat: rax-render 兼容

This commit is contained in:
carlos.czw 2020-08-20 11:59:34 +08:00
parent d9b5adbc04
commit 877d3fccc6
2 changed files with 9 additions and 2 deletions

View File

@ -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') {

View File

@ -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';