vue中子组件的methods中获取到props中的值

父子组件通讯 这个官网很清楚,也很简单,父组件中使用v-bind绑定传送,子组件使用props接收便可 例如: 父组件中javascript <template> <div> <head-top></head-top> <section class="data_section"> <header class="chart-title">数据统计</header> <el-row :gutter="
相关文章
相关标签/搜索