保誠-保戶業務員媒合平台
Tomas
2023-08-05 4b38e2fdc99e681edfd5ec5d923a9ca8b8de8d38
Fixed: [弱掃] p9.1 Indentation does not match nesting level
修改1個檔案
14 ■■■■ 已變更過的檔案
PAMapp/components/Consultant/ConsultantCard.vue 14 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Consultant/ConsultantCard.vue
@@ -175,15 +175,15 @@
                return upperNumber[index];
            }
        },
        formatHopeContactTime(item: string): string {
      formatHopeContactTime(item: string): string {
        if (item) {
            const [hopeDay, hopeTime] = item.split('、');
            const day = hopeDay.split(',').length > 6 ? '不限日期' : hopeDay;
            const time = hopeTime.split(',').length > 3 ? '不限時間' : hopeTime;
            return `${day}、${time}`;
            }
            return '';
          const [hopeDay, hopeTime] = item.split('、');
          const day = hopeDay.split(',').length > 6 ? '不限日期' : hopeDay;
          const time = hopeTime.split(',').length > 3 ? '不限時間' : hopeTime;
          return `${day}、${time}`;
        }
        return ''; // 修正:移至 if (item) 的內部
      },
    }
})
export default class ConsultantCard extends Vue {