提交 60d6d183 作者: ZhangLingKun

优化:操作完成后刷新菜单栏数据

上级 e4325322
流水线 #7668 已通过 于阶段
in 1 分 1 秒
......@@ -102,6 +102,8 @@ export function MenuView() {
const brr = getItem(value)?.filter((i: any) => i?.children?.length) || [];
// 设置要展示的菜单列表
setItems([...arr, ...brr]);
// 将方法挂载到全局
(window as any).getMessageNumber = getMessageNumber;
});
}, []);
......
......@@ -178,6 +178,7 @@ const SureOrder: FC<ModalProps & selfProps> = ({ open, onOk, onCancel, orderItem
orderInfoForm.resetFields();
contractForm.resetFields();
setContractFileList([]);
(window as any).getMessageNumber();
onOk();
} else {
message.error(msg);
......
......@@ -319,6 +319,7 @@ const CustomIdentityView = () => {
setEditData(undefined);
paginationChange(pagination.current, pagination.pageSize);
getListAppUserCount();
(window as any).getMessageNumber();
}}
/>
{/*编辑弹窗*/}
......
......@@ -241,6 +241,7 @@ const DynamicList = () => {
paginationChange(pagination.pageNo, pagination.pageSize);
Modal.destroyAll();
getCountGambit();
(window as any).getMessageNumber();
}
};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论