fix(#IY131): IE 11 下所有数据表格无法显示数据

#Comment
comment commit:8b8112a5e4b41bc70f485c5023bdf2394add0739

#Issue
PR: !17
close https://gitee.com/LongbowEnterprise/dashboard/issues?id=IY131
This commit is contained in:
Argo Zhang 2019-06-17 18:07:32 +08:00
parent 9050818d99
commit e7ad06dfdf
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
(function ($) {
(function ($) {
var formatData = function (data) {
delete data._nodes;
delete data._parent;
@ -166,7 +166,7 @@
return;
}
else {
swal($.extend({}, swalDeleteOptions)).then((result) => {
swal($.extend({}, swalDeleteOptions)).then(function (result) {
if (result.value) {
var logData = arrselections.map(function (element, index) {
return formatData($.extend({}, element));
@ -232,7 +232,7 @@
});
text = "本删除项含有级联子项目</br>您确定要删除 <span class='text-danger font-weight-bold'>" + row.Name + "</span> 以及子项目吗?";
}
swal($.extend({}, swalDeleteOptions, { html: text })).then((result) => {
swal($.extend({}, swalDeleteOptions, { html: text })).then(function (result) {
if (result.value) {
var idField = findIdField(op.table);
var iDs = data.map(function (element, index) {