Commit 86c7f03d authored by 涂伟's avatar 涂伟

fix: '表字段跳转传值逻辑优化'

parent e317ce40
Pipeline #68728 waiting for manual action with stages
...@@ -121,6 +121,7 @@ const AddModal = props => { ...@@ -121,6 +121,7 @@ const AddModal = props => {
if (treeSelectValue) { if (treeSelectValue) {
let ss = treeSelectValue.substring(0, treeSelectValue.lastIndexOf('@')); let ss = treeSelectValue.substring(0, treeSelectValue.lastIndexOf('@'));
setFormObj(treeSelectValue.substring(0, treeSelectValue.lastIndexOf('@'))); setFormObj(treeSelectValue.substring(0, treeSelectValue.lastIndexOf('@')));
setFormName(treeSelectValue.substring(0, treeSelectValue.lastIndexOf('@')));
reloadTableFields({ reloadTableFields({
tableName: treeSelectValue.substring(0, treeSelectValue.lastIndexOf('@')), tableName: treeSelectValue.substring(0, treeSelectValue.lastIndexOf('@')),
}).then(res => { }).then(res => {
......
...@@ -217,6 +217,7 @@ const TableManager = props => { ...@@ -217,6 +217,7 @@ const TableManager = props => {
history.push({ history.push({
pathname: `/biz/account/fieldConfig`, pathname: `/biz/account/fieldConfig`,
state: { state: {
name: record.tableAlias || record.tableName,
id: record.tableName, id: record.tableName,
template: record, template: record,
tableScroll: document.querySelector('.ant-table-body').scrollTop, tableScroll: document.querySelector('.ant-table-body').scrollTop,
...@@ -588,7 +589,6 @@ const TableManager = props => { ...@@ -588,7 +589,6 @@ const TableManager = props => {
]; ];
const tableListCancel = () => { const tableListCancel = () => {
console.log('取消咯666666');
setVisible(false); setVisible(false);
}; };
const pageChage = (page, pageSize) => { const pageChage = (page, pageSize) => {
......
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