File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
layout/components/breadcrumb
views/application/component Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,11 @@ function getApplication() {
228228}
229229function refresh() {
230230 common .saveBreadcrumb (null )
231+ if (isDataset .value ) {
232+ getDataset ()
233+ } else if (isApplication .value ) {
234+ getApplication ()
235+ }
231236}
232237onMounted (() => {
233238 if (! breadcrumbData .value ) {
Original file line number Diff line number Diff line change @@ -242,6 +242,7 @@ const submitHandle = async (formEl: FormInstance | undefined) => {
242242 }
243243 applicationApi .postApplication (applicationForm .value , loading ).then ((res ) => {
244244 MsgSuccess (t (' common.createSuccess' ))
245+ emit (' refresh' )
245246 if (isWorkFlow (applicationForm .value .type )) {
246247 router .push ({ path: ` /application/${res .data .id }/workflow ` })
247248 } else {
You can’t perform that action at this time.
0 commit comments