diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/v3/Vue.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/v3/Vue.txt index 8bd3903..a0569d6 100644 --- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/v3/Vue.txt +++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/v3/Vue.txt @@ -73,14 +73,12 @@ $if(replaceDto.ShowBtnAdd) $end -$if(replaceDto.ShowBtnEdit) +$if(replaceDto.ShowBtnMultiDel) {{ ${t}t('btn.edit') }} -$end -$if(replaceDto.ShowBtnDelete) {{ ${t}t('btn.delete') }} @@ -111,9 +109,14 @@ $end ref="table" border highlight-current-row - @sort-change="sortChange" - @selection-change="handleSelectionChange"> + @sort-change="sortChange" +$if(replaceDto.ShowBtnMultiDel) + @selection-change="handleSelectionChange" +$end + > +$if(replaceDto.ShowBtnMultiDel) +$end $if(null != genTable.SubTableName && "" != genTable.SubTableName && genTable.TplCategory == "subNav")