<script> var obj ;(function() { var i = 0 var int = self.setInterval(function() { console.log(i++) obj = document.getElementById('AAA') if (obj) { window.clearInterval(int); obj.onclick = function() { console.log('################') } } }, 200) })() import EditForm from './EditForm'