Commit 9c552251 authored by wuhao's avatar wuhao 🎯

asder

parent fe9dd3d9
......@@ -13,7 +13,7 @@ export default {
dev: {
[defaultSetting.proxypath]: {
// 要代理的地址
target: 'http://192.168.40.64:28000', //jf哥
target: 'http://192.168.40.64:28001', //jf哥
// target: 'http://192.168.40.203:8000', //dj哥
changeOrigin: true,
},
......
......@@ -14,6 +14,7 @@ function DrawerPro(props) {
fields: props.fields,
detailData: props.detailData,
};
return (
<Drawer
maskClosable={false}
......
......@@ -731,7 +731,6 @@ function Model(props) {
}
},
fn2 = async () => {
console.log('d');
const res = await doFetch({
url: urlParams.detail,
params: { id: drawer?.item?.id },
......@@ -1813,7 +1812,6 @@ function Model(props) {
<>
<ProDescriptions
request={async () => {
console.log('cc');
const { data } = await doFetch({
url: urlParams.detail,
params: { id: drawer?.item?.id },
......@@ -1882,7 +1880,6 @@ function Model(props) {
]}
/>
<Divider />
<Tabs
activeKey={activeTab}
onChange={setactiveTab}
......@@ -1902,8 +1899,7 @@ function Model(props) {
});
if (res.code === '0000') {
message.success('登记成功!');
console.log(drawer);
setDrawer((s) => ({
await setDrawer((s) => ({
...s,
visible: false,
item: null,
......@@ -1928,7 +1924,7 @@ function Model(props) {
});
if (res.code === '0000') {
message.success('登记成功!');
setDrawer((s) => ({
await setDrawer((s) => ({
...s,
visible: false,
item: null,
......@@ -1954,7 +1950,7 @@ function Model(props) {
});
if (res.code === '0000') {
message.success('登记成功!');
setDrawer((s) => ({
await setDrawer((s) => ({
...s,
visible: false,
item: null,
......@@ -1980,7 +1976,7 @@ function Model(props) {
});
if (res.code === '0000') {
message.success('登记成功!');
setDrawer((s) => ({
await setDrawer((s) => ({
...s,
visible: false,
item: null,
......@@ -2006,7 +2002,7 @@ function Model(props) {
});
if (res.code === '0000') {
message.success('登记成功!');
setDrawer((s) => ({
await setDrawer((s) => ({
...s,
visible: false,
item: null,
......@@ -2243,7 +2239,7 @@ function Model(props) {
span: 8,
}}
>
{selectMoreDrawerType(drawer?.type)}
{drawer?.visible && selectMoreDrawerType(drawer?.type)}
</DrawerPro>
<DrawerPro
......
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