判断是否是移动设备

v-show="device === 'mobile'"
原文地址:https://www.cnblogs.com/Bruce_H21/p/14660045.html