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
e3b0db19
Unverified
Commit
e3b0db19
authored
Feb 22, 2019
by
Sendya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: firefox, edge result type is object. #85
parent
21cd85f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
index.js
src/components/table/index.js
+1
-2
No files found.
src/components/table/index.js
View file @
e3b0db19
...
...
@@ -129,9 +129,8 @@ export default {
...
filters
}
))
// 对接自己的通用数据接口需要修改下方代码中的 r.pageNo, r.totalCount, r.data
if
(
result
instanceof
Promise
)
{
if
(
result
instanceof
Promise
||
'[object Promise]'
===
result
.
toString
()
)
{
result
.
then
(
r
=>
{
this
.
localPagination
=
Object
.
assign
({},
this
.
localPagination
,
{
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