Browse Source

空格

shibei_master
zhangyuan 3 years ago
parent
commit
a10dd3856c
  1. 18
      src/mixins/view-module.js

18
src/mixins/view-module.js

@ -44,16 +44,16 @@ export default {
query () { query () {
this.dataListLoading = true this.dataListLoading = true
this.$http.get( this.$http.get(
this.mixinViewModuleOptions.getDataListURL, this.mixinViewModuleOptions.getDataListURL,
{ {
params: { params: {
order: this.order, order: this.order,
orderField: this.orderField, orderField: this.orderField,
page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null, page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null,
limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null, limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null,
...this.dataForm ...this.dataForm
}
} }
}
).then(({ data: res }) => { ).then(({ data: res }) => {
this.dataListLoading = false this.dataListLoading = false
if (res.code !== 0) { if (res.code !== 0) {

Loading…
Cancel
Save