zhangzaipeng %!s(int64=3) %!d(string=hai) anos
pai
achega
027cbd00f8
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      single_table/single-controller.js.ftl

+ 3 - 1
single_table/single-controller.js.ftl

@@ -37,7 +37,9 @@ export default class ${moduleName} extends Scope {
 
 <#if delete>
     remove() {
-        this.refs.grid1.removeEditRow()
+        system.confirm(`${deleteTips!"真的要删除?"}`).then(() => {
+            this.refs.grid1.removeEditRow()
+        })
     }
 </#if>