前端
呜啦吧哈
这个作者很懒,什么都没留下…
展开
-
子组件相互传值
一、父组件中转内涵:子1 传父 ——父传子2父:传递布尔值openComment<template><child1 :open-comment.sync="openComment"</child1><child2 :open-comment.sync="openComment"></child2></template>import child from "../child"export default{原创 2022-04-08 14:50:49 · 1330 阅读 · 0 评论 -
如何刷新当前页面(VUE)
1、在APP.vue中:2、在需要刷新的页面中,注入reload方法,在逻辑完成后调用this.reload()刷新;原创 2022-04-08 14:07:29 · 614 阅读 · 0 评论