mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
保留 信息
This commit is contained in:
parent
416582fea9
commit
70ef820324
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@ node_modules
|
||||
/coverage
|
||||
/package-lock.json
|
||||
/schema.json
|
||||
/npm
|
||||
|
@ -23,3 +23,4 @@ fis-conf.js
|
||||
/.travis.yml
|
||||
/deploy-gh-pages.sh
|
||||
/tsconfig.json
|
||||
/npm
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "amis",
|
||||
"version": "1.0.18-beta.11",
|
||||
"version": "1.0.18-beta.12",
|
||||
"description": "一种MIS页面生成工具",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
|
@ -19,4 +19,4 @@ sed -i '' -e 's/\"name\": \"amis\"/\"name\": \"@fex\/amis\"/g' ./package.json
|
||||
npm publish --registry=http://registry.npm.baidu-int.com
|
||||
|
||||
cd ..
|
||||
rm -rf npm
|
||||
# rm -rf npm
|
||||
|
@ -533,8 +533,6 @@ class SchemaRenderer extends React.Component<SchemaRendererProps, any> {
|
||||
...schema
|
||||
};
|
||||
|
||||
// @ts-ignore
|
||||
delete schema.$ref;
|
||||
path = path.replace(/(?!.*\/).*/, schema.type);
|
||||
}
|
||||
|
||||
|
@ -1212,7 +1212,6 @@ export default class Form extends React.Component<FormProps, object> {
|
||||
...control,
|
||||
...getExprProperties(control, store.data)
|
||||
};
|
||||
delete control.$ref;
|
||||
} else {
|
||||
subSchema.control = control = {
|
||||
...control,
|
||||
|
Loading…
Reference in New Issue
Block a user