在某银行内部系统关联调用的ntko控件实现打印功能。一处代码为const doc = this.ntko.Activedocument; const commentCount = doc.Comments.count;
while(commentCount >=1){ doc.Comments.item(commentCount).Delete(); commentCount--;} 由于是生产问题 只能让线上的人员帮忙测试 最终验证出问题const定义的东西不能修改,Win32没有问题,Win64有问题