提交 2b8ab466 authored 作者: 钟是志's avatar 钟是志

菜单的中文名字 通过 数据集成管理中的菜单中文设置菜单控制

26699 走读的名称改为其他住宿
上级 30160d13
...@@ -31,7 +31,6 @@ const giveValue = (x) => { ...@@ -31,7 +31,6 @@ const giveValue = (x) => {
const getId = async (pathname) => { const getId = async (pathname) => {
// 获取流程引擎 事务workId 和表dataBaseId // 获取流程引擎 事务workId 和表dataBaseId
let idObj = await getOneStopConfig(pathname); let idObj = await getOneStopConfig(pathname);
console.log(idObj);
if (typeof idObj === 'undefined' || !idObj) { if (typeof idObj === 'undefined' || !idObj) {
console.error('没有找到对应的流程引擎id'); console.error('没有找到对应的流程引擎id');
return false; return false;
......
...@@ -8,7 +8,6 @@ export function FormListButtons(props) { ...@@ -8,7 +8,6 @@ export function FormListButtons(props) {
const [ConcatButtons, setConCatButtons] = useState([]); const [ConcatButtons, setConCatButtons] = useState([]);
const { btns, loading, importConfig, getPage, objId, query, custom, sql, exportConfig } = props; const { btns, loading, importConfig, getPage, objId, query, custom, sql, exportConfig } = props;
const Before = btns && btns.before || []; const Before = btns && btns.before || [];
console.log(Before);
useEffect(() => { useEffect(() => {
let buttons = []; let buttons = [];
buttons = Before.map((g) => { buttons = Before.map((g) => {
......
...@@ -2628,7 +2628,6 @@ export default class tableCom extends Component { ...@@ -2628,7 +2628,6 @@ export default class tableCom extends Component {
children: json.initialValue, children: json.initialValue,
...events, ...events,
}; };
console.log(events); // 按钮组件修改
if (json.isLink) { if (json.isLink) {
cm = <a {...ev} />; cm = <a {...ev} />;
} else { } else {
......
...@@ -87,7 +87,6 @@ const formatter = (data, parentPath = "", parentAuthority, parentName) => { ...@@ -87,7 +87,6 @@ const formatter = (data, parentPath = "", parentAuthority, parentName) => {
const getMenuData = (routes) => { const getMenuData = (routes) => {
const newRoutes = formatter(routes); const newRoutes = formatter(routes);
// console.log(newRoutes); //钟是志 TODO
return newRoutes; return newRoutes;
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论