Commit 9e9f5800 authored by 邓超's avatar 邓超

fix: 修改表明显示问题

parent 7bbee9a2
Pipeline #65347 passed with stages
...@@ -400,7 +400,7 @@ const TableView = props => { ...@@ -400,7 +400,7 @@ const TableView = props => {
// 新建表 // 新建表
CreateTablePost({ CreateTablePost({
...validate, ...validate,
tableName: `${tableMap[tableType]}_${validate.tableName}`, tableName: `${tableType.substr(0, tableType.length - 1)}_${validate.tableName}`,
TableFields, TableFields,
tableType, tableType,
tableStyle: '大', tableStyle: '大',
...@@ -690,7 +690,9 @@ const TableView = props => { ...@@ -690,7 +690,9 @@ const TableView = props => {
style={{ marginBottom: '0' }} style={{ marginBottom: '0' }}
> >
<Input <Input
addonBefore={type === 'add' ? `${tableMap[tableType]}_` : null} addonBefore={
type === 'add' ? `${tableType.substr(0, tableType.length - 1)}_` : null
}
placeholder="请填写表名" placeholder="请填写表名"
/> />
</Form.Item> </Form.Item>
......
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