日期显示

This commit is contained in:
PC-202306242200\Administrator
2024-09-11 17:12:42 +08:00
parent bd9b2ef2d2
commit b8ed7f7443
8 changed files with 10 additions and 4 deletions

2
dist/index.html vendored
View File

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.595d7575.js"></script>
<script src="/umi.963d5381.js"></script>
</body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -76,6 +76,9 @@ const GoodsTableList: React.FC = () => {
data.isUp = e ? 1 : 0
let _res = await goodsUpdate(data)
message.success(e ? '上架成功' : '下架成功');
if (actionRef.current) {
actionRef.current.reload();
}
}
return <Switch checkedChildren="上架" value={record.isUp == 1 ? true : false} unCheckedChildren="下架" defaultChecked onChange={onChange} />
}

View File

@@ -82,6 +82,9 @@ const GoodsSetMealTableList: React.FC = () => {
})
let _res = await goodspackagesUpdate(data)
message.success(e ? '上架成功' : '下架成功');
if (actionRef.current) {
actionRef.current.reload();
}
}
return <Switch checkedChildren="上架" unCheckedChildren="下架" defaultChecked onChange={onChange} />
}