mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
fix: breadcrumb issue (#3111)
This commit is contained in:
parent
a4d10cbe3b
commit
a30316d87a
|
|
@ -228,6 +228,11 @@ function getApplication() {
|
|||
}
|
||||
function refresh() {
|
||||
common.saveBreadcrumb(null)
|
||||
if (isDataset.value) {
|
||||
getDataset()
|
||||
} else if (isApplication.value) {
|
||||
getApplication()
|
||||
}
|
||||
}
|
||||
onMounted(() => {
|
||||
if (!breadcrumbData.value) {
|
||||
|
|
|
|||
|
|
@ -242,6 +242,7 @@ const submitHandle = async (formEl: FormInstance | undefined) => {
|
|||
}
|
||||
applicationApi.postApplication(applicationForm.value, loading).then((res) => {
|
||||
MsgSuccess(t('common.createSuccess'))
|
||||
emit('refresh')
|
||||
if (isWorkFlow(applicationForm.value.type)) {
|
||||
router.push({ path: `/application/${res.data.id}/workflow` })
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue