修复移动端判断

This commit is contained in:
hanhh 2021-08-02 16:00:45 +08:00
parent 5690593169
commit 21ae2c8fe6

View File

@ -164,7 +164,7 @@ const Env = () => {
key: 'action',
align: 'center' as const,
render: (text: string, record: any, index: number) => {
const isPc = width === '100%';
const isPc = !isPhone;
return (
<Space size="middle" style={{ paddingLeft: 8 }}>
<Tooltip title={isPc ? '编辑' : ''}>