| | |
| | | col.label = '序号' |
| | | } |
| | | |
| | | _columns.splice(hoverIndex, 0, col) |
| | | let hIndex = +hoverIndex |
| | | |
| | | if (_columns.length > 0 && hIndex + 1 === _columns.length) { |
| | | _columns.push(col) |
| | | } else { |
| | | _columns.splice(hIndex, 0, col) |
| | | } |
| | | |
| | | this.setState({ |
| | | columns: _columns |
| | |
| | | import nortable from '@/assets/img/normaltable.jpg' |
| | | // import mainsubtable from '@/assets/img/mainsubtable.jpg' |
| | | import treepage from '@/assets/img/treepage.jpg' |
| | | // import treepage from '@/assets/img/treepage.jpg' |
| | | import customImg from '@/assets/img/custom.jpg' |
| | | import newpage from '@/assets/img/newpage.jpg' |
| | | import rolemanage from '@/assets/img/rolemanage.jpg' |
| | |
| | | baseconfig: '', |
| | | isSystem: true |
| | | }, |
| | | { |
| | | title: '树形页面', |
| | | type: 'TreePage', |
| | | url: treepage, |
| | | baseconfig: '', |
| | | isSystem: true |
| | | }, |
| | | // { |
| | | // title: '树形页面', |
| | | // type: 'TreePage', |
| | | // url: treepage, |
| | | // baseconfig: '', |
| | | // isSystem: true |
| | | // }, |
| | | { |
| | | title: '外部页面', |
| | | type: 'NewPage', |