feat:update api model router tpl

This commit is contained in:
zhangwenjian committed 2020-09-10 14:14:08 +08:00
1 parent fa07a57d22
commit 8a7a9db7fd
12 files changed
+148 -38

No files matched your search

+1 -5
View File
@@ -428,11 +428,7 @@
cancelButtonText: '取消',
type: 'warning'
}).then(function () {
if (Ids.length > 1) {
return del{{.ClassName}}(Ids.shift(), { 'ids': Ids })
} else {
return del{{.ClassName}}(Ids, { 'ids': [] })
}
return del{{.ClassName}}( { 'ids': Ids })
}).then(() => {
this.getList()
this.msgSuccess('删除成功')