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',