src/views/demo/comp/modal/index.vue
@@ -14,10 +14,7 @@ <Alert message="自适应高度" show-icon /> <a-button type="primary" class="my-4" @click="openModal3"> 打开弹窗 </a-button> <Alert message="内外数据交互,外部通过 transferModalData 发送,内部通过 receiveDrawerDataRef 接收。该数据具有响应式" show-icon /> <Alert message="内外数据交互" show-icon /> <a-button type="primary" class="my-4" @click="send"> 打开弹窗并传递数据 </a-button> <Modal1 @register="register1" :minHeight="100" />