柒零 hace 1 año
padre
commit
3ebcb65d06
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      subpages/data/data.js

+ 1 - 1
subpages/data/data.js

@@ -1599,7 +1599,7 @@ Page({
 					if (ress && ress.data) {
 						console.log('ress.data-getunionsingle=' + JSON.stringify(ress.data));
 
-						if (ress.data == {}) {
+						if (ress.data == {} || ress.data.data == []) {
 							wx.showModal({
 								title: '提示',
 								content: '无数据',