0
以下代码在taginfos viewmodel的激活函数中会导致两个调用,WHY?Durandal激活多次函数调用
$(oTag).fancybox({
'overlayShow' : true,
'width' : 800,
'height' : 500,
'autoScale' : true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'type' : 'iframe',
'scrolling' : 'no',
'href' : 'http://localhost:1135/#/taginfos/' + item.tagId
});
有一百万'fancyboxes'这是什么吗? – Nemoden 2013-04-22 04:05:24
我认为您必须发布视图和视图模型的代码才能获得此帮助。 – 2013-04-23 07:31:30