1234567891011121314151617181920212223242526 |
- 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
- // })
- try {
- const all = (val.split('&') || [])
- return all
- } catch {
- return []
- }
- },
- }
- };
|