以下代码导致 taginfos 视图模型的激活函数中的两次调用,为什么?
$(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
});