模拟点击按钮打开弹出选择

54 阅读1分钟
this.$nextTick(() => {
     let foundW = this.getWidgetRef('d16')
     const found = foundW.$el.firstChild.lastChild.lastElementChild
     found.addEventListener('click', () => {
         this.getWidgetRef('d15').handleClick()
     });
});