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" ); })

改造这两个代码 instDetailrecord consolelogrecord------record thisopenDetailrecordinstId; openDetailinstId var self=this; thisencryptInstIdinstIdfunctionencr

原文地址: http://www.cveoy.top/t/topic/iC94 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录