From bd3d22f2637d94c3299178d923ed8161e787cfe5 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期三, 22 十二月 2021 14:50:16 +0800
Subject: [PATCH] Merge branch 'master' of https://192.168.0.10:8443/r/pcalife/PAM

---
 PAMapp/components/Ui/UiField.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/PAMapp/components/Ui/UiField.vue b/PAMapp/components/Ui/UiField.vue
index df98f3c..1401592 100644
--- a/PAMapp/components/Ui/UiField.vue
+++ b/PAMapp/components/Ui/UiField.vue
@@ -13,7 +13,8 @@
 
 <script lang="ts">
 import { Vue, Component, Prop } from 'vue-property-decorator';
-import { isMobileDevice } from '~/shared/device';
+
+import UtilsService from '~/shared/services/utils.service';
 
 @Component
 export default class UiField extends Vue {
@@ -27,7 +28,7 @@
   currentDevice: 'MOBILE' | 'DESKTOP' = 'MOBILE';
 
   mounted(): void {
-    this.currentDevice = isMobileDevice() ? 'MOBILE' : 'DESKTOP';
+    this.currentDevice = UtilsService.isMobileDevice() ? 'MOBILE' : 'DESKTOP';
   }
 
   get fieldSpan(): number {

--
Gitblit v1.8.0