只读
详细:
handleClick(item) {
alert(item.name);
const menu = this.$refs.contextMenu;
console.log(this.$refs)
menu.style.display = "none";
}
一个对象,持有注册过 ref attribute 的所有 DOM 元素和组件实例。
只读
详细:
一个对象,持有注册过 ref attribute 的所有 DOM 元素和组件实例。
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。
Powered By Z-BlogPHP 1.7.3
Copyright Your WebSite.Some Rights Reserved.