var i=0, max=canvas.toObject().length; i < max; i++) { console.log(obj.getBoundingRect())
} 但是,这会使程序崩溃并返回: obj.getBoundingRect is not a function 我一直在寻找在NodeJS中获取对象边界框上的数据的替代方法,但到目前为止还没有结果
我发现了一些代码,可以让我创建一个石头剪刀游戏。然而,它确实需要一些更新,所以我尝试更新它。我一直在.awaitReactions is not a function中得到这个错误。.then(collected => collected.first() && collected.first().emoji.name);它只是发送嵌入,让用户对其中一个表情作出反应
我正在用打字本尝试createAsyncThunk。进入catch块时,我将返回rejectwithValue(param)。但在console.log上(动作)-我犯了错误- message: "rejectWithValue is not a function" stack: "TypeError: rejectWithValue is not a function\n at http://localhost:3000/main.105756d7251616c1b