mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 18:40:37 +08:00
修复移动端判断
This commit is contained in:
1 parent
dc5b4de5fa
commit
59c9b17c40
1 file changed
+1
-1
Vendored
+1
-1
@@ -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 ? '编辑' : ''}>
|
||||
|
||||
Reference in new issue
Block a user