From c95b1a2fc36fa790759a4f6bac00578bed56d5c8 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 07 九月 2023 14:05:51 +0800
Subject: [PATCH] 前端代码打包
---
Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue b/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue
index 7e53e35..11fe9d4 100644
--- a/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue
+++ b/Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue
@@ -288,8 +288,13 @@
}
}
getList(Object.assign(params,this.params,this.query, query),page.currentPage, page.pageSize, this.url, this.method).then(res => {
- this.data = res.data.records || res.data.data.records;
- this.page.total=res.data.total || res.data.data.total;
+ if(res.data.records){
+ this.data = res.data.records
+ this.page.total=res.data.total ;
+ }else{
+ this.data = res.data.data.records;
+ this.page.total=res.data.data.total;
+ }
this.loading = false;
this.selectionClear();
}).catch(error=>{
--
Gitblit v1.9.3