fix(DetailDrawer): 在移动设备上隐藏全屏按钮

添加移动设备检测逻辑,避免在窄屏设备上显示全屏功能按钮
This commit is contained in:
34701892@qq.com 2025-08-04 10:11:28 +08:00
parent 8932f1e8f4
commit 0bb96e7cbb
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<el-button type="text" style="color: #ff1818"
v-if="!form.deleted && (data.status == 0 || data.status == 1)"
@click="doDeleteNewsFn(data)">删除</el-button>
<el-button type="text" @click="clickFull">
<el-button type="text" @click="clickFull" v-if="!isMobileByWidth()">
<el-icon v-if="!isFull">
<FullScreen />
</el-icon>