Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianzhuanghu
ant-design-pro-vue
Commits
fd33711c
Commit
fd33711c
authored
Mar 20, 2019
by
zkwolf
Committed by
言肆
Mar 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: s-table in IE keep loading
parent
2e515295
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.js
src/components/table/index.js
+1
-1
No files found.
src/components/table/index.js
View file @
fd33711c
...
@@ -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
,
// 返回结果中的当前分页数
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment