改造这两个代码 instDetailrecord consolelogrecord------record thisopenDetailrecordinstId; openDetailinstId var self=this; thisencryptInstIdinstIdfunctionencr
instDetail(record) { console.log("record------>",record) this.openDetail(record.instId, record); }, openDetail(instId, record){ var self=this; this.encryptInstId(instId,function(encryptInstId){ let obj=self.$router.resolve({ name:'openDoc', params:{instId:encryptInstId}, query:{action:"detail"} }); window.open(obj.href,"_blank" ); })
原文地址: http://www.cveoy.top/t/topic/iC94 著作权归作者所有。请勿转载和采集!