修改路径

This commit is contained in:
2betop 2020-09-11 17:30:00 +08:00
parent b46b8bc70a
commit 6b23d9c283
3 changed files with 7 additions and 7 deletions

View File

@ -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"

View File

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

View File

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