king
2023-07-12 4a01edf76d0b0d30170d9d6f6c2b1e28a2817b68
2023-07-12
2个文件已修改
24 ■■■■■ 已修改文件
src/menu/components/table/base-table/columns/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/option.js 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/base-table/columns/index.jsx
@@ -326,7 +326,13 @@
      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
src/utils/option.js
@@ -1,6 +1,6 @@
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'
@@ -73,13 +73,13 @@
    baseconfig: '',
    isSystem: true
  },
  {
    title: '树形页面',
    type: 'TreePage',
    url: treepage,
    baseconfig: '',
    isSystem: true
  },
  // {
  //   title: '树形页面',
  //   type: 'TreePage',
  //   url: treepage,
  //   baseconfig: '',
  //   isSystem: true
  // },
  {
    title: '外部页面',
    type: 'NewPage',