修复移动端判断

This commit is contained in:
hanhh 2021-08-02 16:00:45 +08:00
parent dc5b4de5fa
commit 59c9b17c40

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 ? '编辑' : ''}>