![]() |
1
1
Meteor方法可以在服务器端和客户机端运行(
see here
)这里的错误来自客户端:
accounts对象在客户端和服务器端都可用,但我敢打赌accounts.setpassword函数仅在服务器中出于安全原因可用。
为了避免错误,您可以将Meteor方法定义放在仅服务器的文件夹中
see here
(就像在这个文件中一样)
|
![]() |
sheila.ar · 更新字段:调用方法时出现异常-Meteor 7 年前 |
![]() |
Ivo · Meteor/React路由器4-主页和连接用户 7 年前 |
![]() |
P. Nick · Meteor角色:不能混合分组和非分组角色 7 年前 |