From f9b459a3fefd5fab0ee8e19268adb9d9eadab2a7 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 17 十二月 2024 18:16:58 +0800 Subject: [PATCH] 预测项setting的值修改最大输入长度为1000 --- src/views/bpm/model/editor/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/bpm/model/editor/index.vue b/src/views/bpm/model/editor/index.vue index 29bca71..3e77369 100644 --- a/src/views/bpm/model/editor/index.vue +++ b/src/views/bpm/model/editor/index.vue @@ -58,17 +58,17 @@ } /** 添加/修改模型 */ -const save = async (bpmnXml) => { +const save = async (bpmnXml: string) => { const data = { ...model.value, bpmnXml: bpmnXml // bpmnXml 只是初始化流程图,后续修改无法通过它获得 } as unknown as ModelApi.ModelVO // 提交 if (data.id) { - await ModelApi.updateModel(data) + await ModelApi.updateModelBpmn(data) message.success('修改成功') } else { - await ModelApi.createModel(data) + await ModelApi.updateModelBpmn(data) message.success('新增成功') } // 跳转回去 -- Gitblit v1.9.3