<div @click='showTitleTip = !showTitleTip'>按钮</div>
<div v-show='showTitleTip' data-keep='on'>提示框</div>
<script>
data
vue data- 属性,实现点击页面提示框隐藏
最新推荐文章于 2021-11-02 10:24:03 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
<div @click='showTitleTip = !showTitleTip'>按钮</div>
<div v-show='showTitleTip' data-keep='on'>提示框</div>
<script>
data