使用vue-element中的dialog弹窗中引入组件时第一次传值为空的解决方法
父组件代码
<template>
<div>
<button @click="showDialoag('hello')"></button>
<Contacts ref="contacts"/>
</div>
</template>
<stript>
import Contacts from "./contacts";
export default{
name:'Farther',
data(){
原创
2020-09-04 15:08:04 ·
2020 阅读 ·
0 评论