export default { data() { return {}; }, methods: { getVal(val) { const all = (val.split('周六') || []).map((el, index) => { if (index === 0) { if (val.indexOf('周六') === 0) { el = `周六${el}` } } else { el = `周六${el}` } return el }) // console.log('all === ', all) return all }, } };