Skip to content

Commit

Permalink
fix: getList 出错时设置 total = 0 (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldshen authored and levy9527 committed Dec 11, 2019
1 parent f233255 commit 7773639
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/el-data-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ export default {
* @event error
*/
this.$emit('error', err)
this.total = 0
this.loading = false
})
},
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -791,9 +791,9 @@
minimist "^1.2.0"

"@femessage/el-form-renderer@^1.6.0":
version "1.11.2"
resolved "https://registry.npm.taobao.org/@femessage/el-form-renderer/download/@femessage/el-form-renderer-1.11.2.tgz#bcd209fa3f9057de6463d91aa71b052219764eaa"
integrity sha1-vNIJ+j+QV95kY9kapxsFIhl2Tqo=
version "1.12.1"
resolved "https://registry.npm.taobao.org/@femessage/el-form-renderer/download/@femessage/el-form-renderer-1.12.1.tgz#07c021f56ad25b11040d605bccf9d369af9a1861"
integrity sha1-B8Ah9WrSWxEEDWBbzPnTaa+aGGE=
dependencies:
lodash.get "^4.4.2"
lodash.set "^4.3.2"
Expand Down

0 comments on commit 7773639

Please sign in to comment.