From abfd26bb700d93a92da6a04703b0187d4acaaeb5 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期三, 22 十二月 2021 10:13:02 +0800 Subject: [PATCH] refactor: move ts folder to shared folder --- PAMapp/pages/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PAMapp/pages/index.vue b/PAMapp/pages/index.vue index 4bd0a61..5e21e53 100644 --- a/PAMapp/pages/index.vue +++ b/PAMapp/pages/index.vue @@ -44,7 +44,7 @@ <script lang="ts"> import { Vue, Component, State, Action, Watch, namespace } from 'nuxt-property-decorator'; - import { Consultant } from '~/assets/ts/models/consultant.model'; + import { Consultant } from '~/shared/models/consultant.model'; const localStorage = namespace('localStorage'); @Component({ @@ -66,7 +66,7 @@ onMyConsultantListChange() { this.consultantList = (this.myConsultantList || []) .filter(item => item.contactStatus !== 'contacted') - .map((item) => ({ ...item, formatDate: new Date(item.updateTime)})) + .map((item) => ({ ...item, formatDate: new Date(item.updateTime || item.createTime)})) .sort((preItem, nextItem) => +nextItem.formatDate - +preItem.formatDate) } @@ -141,7 +141,7 @@ align-items: center; } - @media (min-width: 576px) and (max-width: 768px) { + @media (min-width: 576px) and (max-width: 767px) { .quickFilter.el-button--default { background-image: url('~/assets/images/quickFilter/banner_web.svg'); } -- Gitblit v1.8.0