Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
add success emits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jzow committed Oct 22, 2023
1 parent 3439952 commit 56a2b02
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/views/product/info/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</template>
</template>
</BasicTable>
<ProductInfoModal ref="productModalRef" @cancel="handleCancel"/>
<ProductInfoModal ref="productModalRef" @cancel="handleCancel" @success="handleOk"/>
</div>
</template>
<div>
Expand Down Expand Up @@ -113,6 +113,10 @@ export default defineComponent({
reload();
}
async function handleOk() {
reload();
}
return {
registerTable,
handleCreate,
Expand All @@ -122,6 +126,7 @@ export default defineComponent({
handleSuccess,
handleOnStatus,
handleCancel,
handleOk,
productModalRef,
}
}
Expand Down

0 comments on commit 56a2b02

Please sign in to comment.