From b704cdc55b9710445953e1bd97f12cea50cfa0ab Mon Sep 17 00:00:00 2001 From: thinkgem Date: Sun, 1 May 2022 23:37:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A1=86=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=90=8E=E7=AB=8B=E5=8D=B3=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E7=94=A8=E7=82=B9=E5=87=BB=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/modules/gen/crud/vueList.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/core/src/main/resources/templates/modules/gen/crud/vueList.xml b/modules/core/src/main/resources/templates/modules/gen/crud/vueList.xml index 9ff1d287..57e5e9fc 100644 --- a/modules/core/src/main/resources/templates/modules/gen/crud/vueList.xml +++ b/modules/core/src/main/resources/templates/modules/gen/crud/vueList.xml @@ -163,6 +163,9 @@ for(c in table.columnList){ <% if(isMultiple){ %> mode: 'multiple', <% } %> + <% if(c.columnName == 'status'){ %> + onChange: handleSuccess, + <% } %> }, <% }else if(c.showType == 'radio' || c.showType == 'checkbox'){ %> component: '${@StringUtils.cap(c.showType)}Group',