chore: make class to get the device form factor
This commit is contained in:
1 parent
510c35f450
commit
6f4eefe601
5 files changed
+11
-6
No files matched your search
@@ -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