mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-03-22 02:25:48 +00:00
chore: make class to get the device form factor
This commit is contained in:
@@ -601,7 +601,7 @@
|
||||
loadingTip: '{{ i18n "loading"}}',
|
||||
showAlert: false,
|
||||
showIp: false,
|
||||
isMobile: window.innerWidth <= 768
|
||||
isMobile: DeviceUtils.isMobile()
|
||||
},
|
||||
methods: {
|
||||
loading(spinning, tip = '{{ i18n "loading"}}') {
|
||||
|
||||
Reference in New Issue
Block a user