0
Hej,我在這裏有一個問題,knockout-kendo框架。
每個事件都會被觸發兩次。
有人能告訴我我的代碼有什麼問題嗎?淘汰賽劍道事件兩次火災
我創建了一個小的fiddle。
var StoreViewModel = function() {
var self = this;
this.stores = ko.observableArray(stores);
this.selectedStore = ko.observable(stores[0].Id);
// this event fires twice, dont know why!
this.dataBoundEvent = function() {
alert('databound event ...');
//doSomething();
};
this.changeEvent = function() {
alert('change event ...');
//doSomething();
};
};
謝謝!
不錯,謝謝! – chris