mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-25 00:16:06 +08:00
修复移动端判断
This commit is contained in:
parent
dc5b4de5fa
commit
59c9b17c40
2
src/pages/env/index.tsx
vendored
2
src/pages/env/index.tsx
vendored
|
@ -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 ? '编辑' : ''}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user