Browse Source

自动化代码中 批量删除功能增加未选择条目时提醒功能

main
pixel 4 years ago
parent
commit
82509eb580
  1. 7
      server/resource/template/web/table.vue.tpl

7
server/resource/template/web/table.vue.tpl

@ -210,6 +210,13 @@ export default {
},
async onDelete() {
const ids = []
if(this.multipleSelection.length == 0){
this.$message({
type: 'warning',
message: '请选择要删除的数据'
})
return
}
this.multipleSelection &&
this.multipleSelection.map(item => {
ids.push(item.ID)

Loading…
Cancel
Save