fix(DetailDrawer): 在移动设备上隐藏全屏按钮
添加移动设备检测逻辑,避免在窄屏设备上显示全屏功能按钮
This commit is contained in:
parent
8932f1e8f4
commit
0bb96e7cbb
|
|
@ -22,7 +22,7 @@
|
||||||
<el-button type="text" style="color: #ff1818"
|
<el-button type="text" style="color: #ff1818"
|
||||||
v-if="!form.deleted && (data.status == 0 || data.status == 1)"
|
v-if="!form.deleted && (data.status == 0 || data.status == 1)"
|
||||||
@click="doDeleteNewsFn(data)">删除</el-button>
|
@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">
|
<el-icon v-if="!isFull">
|
||||||
<FullScreen />
|
<FullScreen />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue