Commit fd33711c by zkwolf Committed by 言肆

fix: s-table in IE keep loading

parent 2e515295
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
const result = this.data(parameter) const result = this.data(parameter)
// 对接自己的通用数据接口需要修改下方代码中的 r.pageNo, r.totalCount, r.data // 对接自己的通用数据接口需要修改下方代码中的 r.pageNo, r.totalCount, r.data
// eslint-disable-next-line // eslint-disable-next-line
if (result instanceof Promise || '[object Promise]' === result.toString()) { if ((typeof result === 'object' || typeof result === 'function') && typeof result.then === 'function') {
result.then(r => { result.then(r => {
this.localPagination = Object.assign({}, this.localPagination, { this.localPagination = Object.assign({}, this.localPagination, {
current: r.pageNo, // 返回结果中的当前分页数 current: r.pageNo, // 返回结果中的当前分页数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment