Parcourir la source

处理模板中新增时为表单组的异常问题

lph il y a 1 an
Parent
commit
ffb84157ab
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      zkqy-ui/src/views/tablelist/commonTable/listInfo.vue

+ 5 - 1
zkqy-ui/src/views/tablelist/commonTable/listInfo.vue

@@ -868,7 +868,11 @@ export default {
             this.$message.error("当前按钮未绑定表单!");
             return;
           }
-          if (btnGroupType == "top" && !res.data.dfVueTemplate) {
+          if (
+            btnGroupType == "top" &&
+            !res.data.dfVueTemplate &&
+            !res.data.mainForm
+          ) {
             //顶部判定逻辑
             this.$message.error("当前按钮未绑定表单!");
             return;