Procházet zdrojové kódy

数据模板添加按钮传参失效问题修复(后置事件传参)

cfort před 1 rokem
rodič
revize
8aa9b2bcca

+ 1 - 1
src/business/platform/data/templaterender/templates/list.vue

@@ -1021,8 +1021,8 @@ export default {
                         this.search()
                         break
                     case 'add': // 添加
-                        this.handleEdit(null, command, position, selection, data)
                         this.addDataCont = button.initAddDataCont
+                        this.handleEdit(null, command, position, selection, data)
                         break
                     case 'edit': // 编辑
                     case 'detail': // 明细