Procházet zdrojové kódy

同步医学版bug-数据模版添加按钮传参失效问题

wy před 1 rokem
rodič
revize
d38ba81132

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

@@ -1033,8 +1033,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': // 明细