mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Optimize details
This commit is contained in:
parent
deb3844b4c
commit
7421caba9b
|
|
@ -279,8 +279,11 @@ async function publicHandle() {
|
|||
return
|
||||
}
|
||||
applicationApi.putPublishApplication(id as String, obj, loading).then(() => {
|
||||
MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess'))
|
||||
getDetail()
|
||||
|
||||
application.asyncGetApplicationDetail(id, loading).then((res: any) => {
|
||||
detail.value.name = res.data.name
|
||||
MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess'))
|
||||
})
|
||||
})
|
||||
})
|
||||
.catch((res: any) => {
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@ const validate = () => {
|
|||
}
|
||||
|
||||
function onEnd(event?: any) {
|
||||
const { oldIndex, newIndex, clonedData } = event
|
||||
const { oldIndex, newIndex } = event
|
||||
if (oldIndex === undefined || newIndex === undefined) return
|
||||
const list = cloneDeep(props.nodeModel.properties.node_data.branch)
|
||||
if (oldIndex === list.length - 1 || newIndex === list.length - 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue