Commit bfdb22d0 authored by TZW's avatar TZW

11

parent 9e3ebb1d
import React, { useState, useEffect } from 'react';
const App = () => {
return (
<>
<div>新增编号规则</div>
</>
);
};
export default App;
......@@ -13,6 +13,7 @@ import PremButton from '@/components/PremButton';
import getcolumns from './columns';
import { doFetch } from '@/utils/doFetch';
import { message } from 'antd';
import AddRules from './AddRules';
function Rules(props) {
const actionRef = useRef(),
......@@ -151,7 +152,8 @@ function Rules(props) {
item: null,
detailpath: null,
title: '新增',
val: 'add',
type: 'add',
val: 'only',
onFinish: async (vals) => {
console.log(1);
let params = {
......@@ -190,7 +192,9 @@ function Rules(props) {
}));
}}
{...drawer}
/>
>
{drawer?.type == 'add' ? <AddRules /> : null}
</DrawerPro>
</div>
);
}
......
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