如果仅仅是模拟点击: var e = document.createEvent('MouseEvent'); e.initEvent('click', false, false); this.$refs.test.$el.dispatchEvent(e);
如果仅仅是模拟点击: