Browse Source

BI-125589 fix:this改坏了

es6
Treecat 2 years ago
parent
commit
81b95603f8
  1. 6
      packages/fineui/package.json
  2. 2
      packages/fineui/src/case/loader/sort.list.js

6
packages/fineui/package.json

@ -47,11 +47,9 @@
"dependencies": {
"@juggle/resize-observer": "^3.4.0",
"@popperjs/core": "2.11.6",
"jquery": "3.6.3",
"yargs": "17.6.2"
"jquery": "3.6.3"
},
"devDependencies": {
"cross-env": "^7.0.3",
"@types/yargs": "17.0.13"
"cross-env": "^7.0.3"
}
}

2
packages/fineui/src/case/loader/sort.list.js

@ -43,7 +43,7 @@ export class SortList extends Widget {
isDefaultInit: o.isDefaultInit,
el: o.el,
items: this._formatItems(o.items),
itemsCreator(op, callback) {
itemsCreator: (op, callback) => {
o.itemsCreator(op, items => {
callback(this._formatItems(items));
});

Loading…
Cancel
Save