|
@@ -157,7 +157,7 @@ export default {
|
|
//liling:避免提示空错误提示,res.data为空不代表接口有错误,所以先判断接口code值
|
|
//liling:避免提示空错误提示,res.data为空不代表接口有错误,所以先判断接口code值
|
|
pastLoading.value = false
|
|
pastLoading.value = false
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
- if (res.data == null) {
|
|
|
|
|
|
+ if (res.data == null || res.data=="") {
|
|
curList.value = [];
|
|
curList.value = [];
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -191,7 +191,7 @@ export default {
|
|
//if ( res.data) {
|
|
//if ( res.data) {
|
|
//liling:避免提示空错误提示,res.data为空不代表接口有错误,所以先判断接口code值
|
|
//liling:避免提示空错误提示,res.data为空不代表接口有错误,所以先判断接口code值
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
- if (res.data == null) {
|
|
|
|
|
|
+ if (res.data == null || res.data=="") {
|
|
outList.value = [];
|
|
outList.value = [];
|
|
return;
|
|
return;
|
|
}
|
|
}
|