1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

fix: 解决移动设备下,容器名称丢失的问题 (#3805)

Refs #3798
This commit is contained in:
ssongliu 2024-02-04 11:58:52 +08:00 committed by GitHub
parent 0449868d3b
commit 3652c46ac9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,12 +98,12 @@
<el-table-column type="selection" /> <el-table-column type="selection" />
<el-table-column <el-table-column
:label="$t('commons.table.name')" :label="$t('commons.table.name')"
:width="mobile ? 300 : '200'" :width="mobile ? 300 : 200"
min-width="100" min-width="100"
prop="name" prop="name"
sortable sortable
fix fix
:fixed="mobile ? 'false' : 'left'" :fixed="mobile ? false : 'left'"
> >
<template #default="{ row }"> <template #default="{ row }">
<Tooltip @click="onInspect(row.containerID)" :text="row.name" /> <Tooltip @click="onInspect(row.containerID)" :text="row.name" />