Commit 37cf5205 authored by 田翔's avatar 田翔

fix: 滚动条

parent b2f776df
{
"name": "panda-xform",
"version": "4.3.6",
"description": "4.3.6 不允许清空编码",
"version": "4.3.7",
"description": "4.3.7 滚动条",
"keywords": [
"panda-xform"
],
......
......@@ -50,6 +50,7 @@ const Account = (props) => {
const addField = addFieldGroup ? addFieldGroup.split(',').filter(v => v) : []
const editField = editFieldGroup ? editFieldGroup.split(',').filter(v => v) : []
if (type === '添加') {
setOperation({ type, id: null })
saveClick(addField, formJson, [], type)
}
if (type === '重置') {
......
......@@ -606,6 +606,7 @@ const textWidgets = [
type: 'string',
widget: 'Coding',
disabled: true,
required: false,
},
setting: {
widget: {
......@@ -645,19 +646,19 @@ const textWidgets = [
disabled: disabled,
dependencies: ['tableTypeParent', 'IsSystemField'],
},
required: {
title: '必填',
type: 'boolean',
default: false,
width: '40%',
props: {
style: {
marginLeft: '10px'
}
},
disabled: disabled,
dependencies: ['tableTypeParent', 'IsSystemField'],
},
// required: {
// title: '必填',
// type: 'boolean',
// default: false,
// width: '40%',
// props: {
// style: {
// marginLeft: '10px'
// }
// },
// disabled: disabled,
// dependencies: ['tableTypeParent', 'IsSystemField'],
// },
prefixion: {
title: '前缀',
type: 'string',
......
......@@ -335,7 +335,7 @@ const FormDesigner = (props, ref) => {
}
return (
<div className={styles.pandaXform}>
<div className={styles.pandaXform} style={{ height: '100%' }}>
<div style={{ width: '100%', height: '100%' }}>
<Generator
// configProvider={{ prefixCls: prefixClsPandaXform }}
......
......@@ -9,7 +9,7 @@ const Coding = (props) => {
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext)
const prefixCls = getPrefixCls('pandaXform')
const { value, onChange, addons, schema } = props
const { disabled, prefixion, codingType, presetValue } = schema
const { disabled, prefixion, codingType, presetValue, required } = schema
const inputChange = (e) => {
onChange(e.target.value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment