|
@@ -813,8 +813,8 @@
|
|
data: JSON.stringify(params),
|
|
data: JSON.stringify(params),
|
|
success: function(res) {
|
|
success: function(res) {
|
|
if(res.error_code === 0) {
|
|
if(res.error_code === 0) {
|
|
- let list = res.data.list
|
|
|
|
- if(!list) {list = []}
|
|
|
|
|
|
+ let list = res.data && res.data.list ? res.data.list : []
|
|
|
|
+ // if(!list) {list = []}
|
|
if (list.length > 0) {
|
|
if (list.length > 0) {
|
|
_this.cbInfo.isShowRefer = true
|
|
_this.cbInfo.isShowRefer = true
|
|
} else {
|
|
} else {
|