Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';我不了解meteor用户帐户_Meteor - Fatal编程技术网

Can';我不了解meteor用户帐户

Can';我不了解meteor用户帐户,meteor,Meteor,我可以写一些关于我的用户帐户的问题。我一直在推迟寻求帮助,因为这里显然缺少一些核心的东西,这些东西在文档中已经对外行进行了透彻的解释,甚至会冒犯到我 Template.login.foo = function(){ return Meteor.users(); }; <h4>Hello</h> <ul>{{#each foo}} <li>{{createdAt}}<

我可以写一些关于我的用户帐户的问题。我一直在推迟寻求帮助,因为这里显然缺少一些核心的东西,这些东西在文档中已经对外行进行了透彻的解释,甚至会冒犯到我

Template.login.foo = function(){
        return Meteor.users();
      }; 

        <h4>Hello</h>
        <ul>{{#each foo}}
        <li>{{createdAt}}</li>
        {{/each}}
        </ul>
Template.login.foo=function(){
return Meteor.users();
}; 
你好
    {{{每个foo}
  • {{createdAt}}
  • {{/每个}}

我现在已经自动发布了。很抱歉,如果我在这里遗漏了一些明显的内容,我只是开始。

return Meteor.users()中没有函数。
。如果要返回所有用户数据,您必须使用
find
查询访问
Meteor.users

return Meteor.users.find({});