Loading

摘要: 获取值let but = ref(null) onMounted(() => { console.log(but.value.innerHTML); // <div ref="but">小猪课堂</div> }); 获取href console.log(but.value.getAttribute( 阅读全文
posted @ 2024-01-18 20:16 mingBolg 阅读(112) 评论(0) 推荐(0) 编辑