Fixed: [弱掃] p9.1 Indentation does not match nesting level
| | |
| | | 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 { |