liuyu 5 năm trước cách đây
mục cha
commit
c4496fa804
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/news.js

+ 1 - 1
app/service/news.js

@@ -24,7 +24,7 @@ class NewsService extends CrudService {
         },
         dataType: 'json',
       });
-      if (user.data.data.name) {
+      if (user.data.name) {
         news.uname = user.data.data.name;
       }
     }