Skip to content

Commit cf4b4af

Browse files
committed
fix: 修复首次打开应用文件上传,直接点击发布后没有显示上传按钮的问题
1 parent 66e91bd commit cf4b4af

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ui/src/views/application-workflow/index.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,12 @@ function onmousedown(item: any) {
241241
function clickoutside() {
242242
showPopover.value = false
243243
}
244-
function publicHandle() {
244+
async function publicHandle() {
245245
// 先执行保存
246-
saveApplication()
246+
const obj = {
247+
work_flow: getGraphData()
248+
}
249+
await application.asyncPutApplication(id, obj)
247250
// 后执行发布
248251
workflowRef.value
249252
?.validate()

0 commit comments

Comments
 (0)