Skip to content

Commit

Permalink
增加 this.src 的的初始值 (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
clark-t authored Aug 30, 2019
1 parent edfe5c7 commit 728d8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mip-list/mip-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export default class MIPList extends CustomElement {

refresh () {
this.initState()
this.setState()
this.asyncData(false)
}

Expand Down Expand Up @@ -220,6 +219,7 @@ export default class MIPList extends CustomElement {
(this.props['has-more'] && 'manual')
) ||
false
this.setState()
}

setState (data) {
Expand Down

0 comments on commit 728d8e2

Please sign in to comment.