Skip to content

Commit

Permalink
basicModal 组件 导出 modalMethods 方法
Browse files Browse the repository at this point in the history
  • Loading branch information
jekip committed Apr 10, 2024
1 parent 58e99c1 commit 38fe255
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Modal/src/basicModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
if (instance) {
emit('register', modalMethods);
}
defineExpose(modalMethods);
</script>

<style lang="less">
Expand Down

0 comments on commit 38fe255

Please sign in to comment.