0
發送消息時,我得到這個錯誤未能通過測試在本教程中發送的消息angularjs聊
TypeError: self.rooms[setup.to].publish is not a function
。我已經在pubnub上有密鑰,我應該怎麼做才能使它工作?我的Angular版本是1.6.6。
// Send Messages
$scope.send = function() {
Messages.send({
data: $scope.textbox
});
};
我有這樣的形式'
我編輯的形式如何,需要爲校驗值由我改變的消息作爲消息在您的循環重複了 – 2017-10-13 23:15:47