pudongliang 5 سال پیش
والد
کامیت
eb4f2ff383
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      plume-code-starter/src/main/resources/template/ElementUi-Main.vue.tpl

+ 2 - 2
plume-code-starter/src/main/resources/template/ElementUi-Main.vue.tpl

@@ -73,8 +73,8 @@ export default {
       let req = {...searchForm, ...this.pageInfo}
       this.loading = true
       Page(req).then(res => {
-        this.data = res.records
-        this.pageInfo.total = res.total
+        this.data = res.data.records
+        this.pageInfo.total = res.data.total
         this.loading = false
       })
     },