繁体   English   中英

Tabulator.js - IE11 - “错误:未指定的错误。 ..”

[英]Tabulator.js - IE11 - “Error: Unspecified error. ..”

我不知道这段代码有什么问题:

import 'promise-polyfill/src/polyfill';
import Tabulator from 'tabulator-tables';

export default class Table {
 constructor(tableElement) {
   this.tableElemet = tableElement;
 }

 render(tableData, locale) {
        const self = this;
        this.table = new Tabulator(this.tableElement, {
            locale: locale,
            cellHozAlign: "right",
            columns: this.columns(),
            data: tableData,
            layout: "fitColumns",
            resizableColumns: false,
            maxHeight: "500px",
            pagination:"local",
            paginationSize: 30,
            paginationSizeSelector:[30, 50, 100, true],
            langs: this.langs(),
            downloadConfig: {
                columnGroups: true
            },
            tableBuilt: function (){
                self.modifyPagination(this.getPageMax());
            }
        });
 }

 //other functions
}   

我正在使用 ES6。 仅在 IE 上出现错误:


Error: Unspecified error. { 
  [functions]: , __proto__: { }, 
  description: "Unspecified error.", 
  message: "Unspecified error.", 
  name: "Error", 
  number: -2147467259, 
  stack: "Error: Unspecified error. 
        at RowManager.prototype.adjustTableSize (tabulator.js?v32:147:7) 
        at Anonymous function ({myFilePath}", Symbol()_6.e5wrk79qtse: undefined }

有人有什么想法吗? 我试图显示一个空表(没有任何参数) - 也有同样的问题。 如果您需要更多信息,请告诉我。

制表器 v4.9.1

浏览器:IE 11

Windows 10

在 4.9 版本中引入了一个回归,它破坏了 IE 功能,如果你拉下最新版本,4.9.3 它应该可以工作

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM