From ccc0a1c3c176e13943102a14e68978b2838523a7 Mon Sep 17 00:00:00 2001 From: "Mr. Lan" Date: Tue, 13 Oct 2020 22:37:35 +0800 Subject: [PATCH 1/2] fix: fix bug. --- template/web/index.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 template/web/index.html diff --git a/template/web/index.html b/template/web/index.html new file mode 100644 index 0000000..e69de29 From c1ee9415a131af997e57f880088136e56b09c557 Mon Sep 17 00:00:00 2001 From: YuleiLan Date: Wed, 14 Oct 2020 18:03:11 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E5=AE=A1=E6=89=B9=E9=80=80=E5=9B=9E?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E7=BC=96=E8=BE=91,=20fix=20#71?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/handle.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/service/handle.go b/pkg/service/handle.go index 3da4c44..f1297c1 100644 --- a/pkg/service/handle.go +++ b/pkg/service/handle.go @@ -648,7 +648,9 @@ func (h *Handle) HandleWorkOrder( // 是否可写,只有可写的模版可以更新数据 updateStatus := false - if writeTplList, writeOK := h.stateValue["writeTpls"]; writeOK { + if h.stateValue["clazz"].(string) == "start" { + updateStatus = true + } else if writeTplList, writeOK := h.stateValue["writeTpls"]; writeOK { tplListTag: for _, writeTplId := range writeTplList.([]interface{}) { if writeTplId == t["tplId"] { // 可写