gpt4 book ai didi

javascript - 面向对象的 meteor

转载 作者:行者123 更新时间:2023-11-30 00:15:04 25 4
gpt4 key购买 nike

<分区>

我在服务器端创建了一些对象:

Scoreboard={
update:function() {.. },
Home:null,
etc.
}
Game={
more args and meths
}
Player={idem}

我正在尝试使用 Meteor.call() 从客户端运行其中一些对象方法,但它不起作用。此外,当我将它们添加到 Meteor.methods() 时,依赖于其他对象方法的方法也不起作用。

它在客户端上正常运行。当我尝试在服务器端做同样的事情时,困惑就开始了。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com