diff --git a/config/routes.js b/config/routes.js index de3b438..093ff73 100644 --- a/config/routes.js +++ b/config/routes.js @@ -33,6 +33,13 @@ export default [ component: './sys/company', access: 'k2', }, + { + name: '支付配置', + icon: 'smile', + path: '/sys/paytemplate', + component: './sys/paytemplate', + access: 'k2', + }, { name: '组织管理', icon: 'smile', diff --git a/src/app.jsx b/src/app.jsx index 0135254..0c631bc 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -723,7 +723,7 @@ export async function getInitialState() { var tempMenu = await queryMenuData(); //创建菜单 //await syncMenus(tempMenu); - if (!isDev) { + if (true) { var data = await dymicMenus(currentUser.data.id); tempMenu = data.data; } diff --git a/src/pages/sys/org/components/CreateForm.jsx b/src/pages/sys/org/components/CreateForm.jsx index 35ab67e..8da2111 100644 --- a/src/pages/sys/org/components/CreateForm.jsx +++ b/src/pages/sys/org/components/CreateForm.jsx @@ -59,23 +59,38 @@ const CreateForm = (props) => { - + + + + {/* ,pattern: /^[-\+]?\d+(\.\d+)\,[-\+]?\d+(\.\d+)$/, message: '经纬度格式不对'} */} - + - + -