mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
修改路径
This commit is contained in:
parent
b46b8bc70a
commit
6b23d9c283
@ -7,12 +7,12 @@ echo "Cloning"
|
||||
git clone -b gh-pages https://$GH_TOKEN@github.com/baidu/amis.git gh-pages
|
||||
|
||||
echo "building"
|
||||
node ./build/generate-search-data.js
|
||||
node ./scripts/generate-search-data.js
|
||||
|
||||
fis3 release gh-pages -c
|
||||
|
||||
# 不走 cdn 了
|
||||
# node ./build/upload2cdn.js $1 $2
|
||||
# node ./scripts/upload2cdn.js $1 $2
|
||||
|
||||
echo "pushing"
|
||||
|
||||
|
@ -225,7 +225,7 @@ function convertArray2Hbox(arr: Array<any>): any {
|
||||
}
|
||||
|
||||
// CRUD/List 和 CRUD/Card 的 body 中的数组用法转成 hbox
|
||||
addSchemaFilter(function(schema: Schema, renderer) {
|
||||
addSchemaFilter(function (schema: Schema, renderer) {
|
||||
if (
|
||||
renderer.component !== CardRenderer &&
|
||||
renderer.component !== ListItemRenderer
|
||||
@ -255,7 +255,7 @@ addSchemaFilter(function(schema: Schema, renderer) {
|
||||
});
|
||||
|
||||
// button group 的 btnClassName 和 btnActiveClassName 改成 btnLevel 和 btnActiveLevel 了
|
||||
addSchemaFilter(function(scheam: Schema, renderer) {
|
||||
addSchemaFilter(function (scheam: Schema, renderer) {
|
||||
if (renderer.component !== ButtonGroupControlRenderer) {
|
||||
return scheam;
|
||||
}
|
||||
@ -275,7 +275,7 @@ addSchemaFilter(function(scheam: Schema, renderer) {
|
||||
});
|
||||
|
||||
// FieldSet className 定制样式方式改成 size 来配置
|
||||
addSchemaFilter(function(scheam: Schema, renderer) {
|
||||
addSchemaFilter(function (scheam: Schema, renderer) {
|
||||
if (renderer.component !== FieldSetRenderer) {
|
||||
return scheam;
|
||||
}
|
||||
@ -302,7 +302,7 @@ addSchemaFilter(function(scheam: Schema, renderer) {
|
||||
});
|
||||
|
||||
// FieldSet className 定制样式方式改成 size 来配置
|
||||
addSchemaFilter(function(scheam: Schema, renderer) {
|
||||
addSchemaFilter(function (scheam: Schema, renderer) {
|
||||
if (renderer.component !== ServiceRenderer) {
|
||||
return scheam;
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ export interface RendererConfig extends RendererBasicConfig {
|
||||
}
|
||||
|
||||
export interface RenderSchemaFilter {
|
||||
(schema: Schema, renderer: RendererConfig, props?: object): SchemaObject;
|
||||
(schema: Schema, renderer: RendererConfig, props?: object): Schema;
|
||||
}
|
||||
|
||||
export interface RootRenderProps {
|
||||
|
Loading…
Reference in New Issue
Block a user