uni-app父子组件传递数据(更新中)

一、子传父数据

第一步:在uni-app项目中的components文件中新建二个子组件名各为user-info-edit.vue、user-info-show.vue

在这里插入图片描述
user-info-edit.vue代码:

<template>
	<view>edit</view>
</template>
<script>
	

猜你喜欢

转载自blog.csdn.net/qq_35091074/article/details/126601973