优化更多按钮显示问题

This commit is contained in:
youngq 2024-09-23 15:02:13 +08:00
parent ef2eb499ab
commit e06f908816
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "WGShare.Metting", "name": "WGShare.Metting",
"private": true, "private": true,
"version": "0.3.1", "version": "0.3.2",
"main": "main.js", "main": "main.js",
"authors": "yj", "authors": "yj",
"description": "智汇享", "description": "智汇享",

View File

@ -206,10 +206,10 @@ const Index: React.FC = () => {
<img src={ImageUrl.icon10} alt="" /> <img src={ImageUrl.icon10} alt="" />
</div> </div>
<div> <div>
<Popover {role.ID.includes(userInfo.roleId) ? <Popover
content={ content={
<div className='meetingContentFooterPopover'> <div className='meetingContentFooterPopover'>
<Popconfirm {userInfo.roleId === '1' ? <Popconfirm
title="提示" title="提示"
description={`确定删除该会议吗`} description={`确定删除该会议吗`}
onConfirm={async () => { onConfirm={async () => {
@ -228,7 +228,7 @@ const Index: React.FC = () => {
cancelText="取消" cancelText="取消"
> >
<div></div> <div></div>
</Popconfirm> </Popconfirm> : null}
<div onClick={() => { <div onClick={() => {
changeOpen(index, false) changeOpen(index, false)
setTimeSelectModal(true) setTimeSelectModal(true)
@ -247,7 +247,7 @@ const Index: React.FC = () => {
}} }}
> >
<Button type="primary" danger></Button> <Button type="primary" danger></Button>
</Popover> </Popover> : null}
<Button type="primary" <Button type="primary"
iconPosition={'end'} iconPosition={'end'}
onClick={async () => { onClick={async () => {