Skip to content

table的sort-config 配置sortMethod出现 TypeError: allSortMethod is not a function #930

@joker-jrz

Description

@joker-jrz

(必填)请填写问题描述或截图
sort-config 配置sortMethod出现 TypeError: allSortMethod is not a function
vue.runtime.esm.js?2b0e:1888 TypeError: allSortMethod is not a function
at VueComponent.updateAfterFullData (methods.js?a6b2:959)
at VueComponent.handleTableData (methods.js?a6b2:140)
at VueComponent.sort (methods.js?a6b2:3435)
at VueComponent.triggerSortEvent (methods.js?a6b2:3409)
at click (cell.js?4c2e:658)
at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854)
at HTMLElement.invoker (vue.runtime.esm.js?2b0e:2179)
at HTMLElement.original._wrapper (vue.runtime.esm.js?2b0e:6917)
我不知道是不是我配置有问题出现了这个错误

(必填)请填在线链接
https://codesandbox.io/s/vxe-table-sort-ceshide-demo-ie7cc?file=/src/views/Demo1.vue

(必填)请填写以下信息:

  • OS: Windows10
  • Browser: chrome 83.0.4103.116(正式版本) (64 位)
  • vue: 2.6.10
  • vxe-table: 2.9.15 beta.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions