展开

Vue父子组件双向绑定详解

最后发布时间 : 2023-11-30 10:13:47 浏览量 :

https://www.python100.com/html/88178.html

/home/wangyang/workspace/pipeline-ui/src/views/sequence/index.vue

<n-data-table :columns="columns" :data="seqData" :on-update="$emit('update:seqData',seqData)"></n-data-table>

/home/wangyang/workspace/pipeline-ui/src/views/tasks/info/index.vue

       <SeqForm ref="seqFormRef" v-model:seqData="task.samples" ></SeqForm>