Advertisement

工作339:PC父组件通过Props传输值给子组件,如何防止子组件修改Props属性值报错问题

阅读量:
复制代码
      </el-form>
      <div>
        <!--子代方法有一个·传值传向父级 onselect去接收这个值-->
        <select-account :data1.sync="accountList" :checkedData.sync="checkedData1" @seletct="onSelect" />
      </div>
      <div style="clear: both"></div>
      <template v-slot:footer>
        <el-button @click="cancel">取 消</el-button>
        <el-button type="primary" @click="confirm">确 定</el-button>
      </template>
    </el-dialog>
      </div>
    
    
      
      
      
      
      
      
      
      
      
      
      
      
    
复制代码
     <el-checkbox-group   v-model="ooo"  @change="handleChec

全部评论 (0)

还没有任何评论哟~