保誠-保戶業務員媒合平台
Mila
2021-12-22 bd3d22f2637d94c3299178d923ed8161e787cfe5
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 {