Browse Source

表单构建按钮不显示正则校验

RuoYi 2 years ago
parent
commit
8a2e3d13f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-ui/src/views/tool/build/RightPanel.vue

+ 1 - 1
ruoyi-ui/src/views/tool/build/RightPanel.vue

@@ -486,7 +486,7 @@
             </el-tree>
           </template>
 
-          <template v-if="activeData.layout === 'colFormItem'">
+          <template v-if="activeData.layout === 'colFormItem' && activeData.tag !== 'el-button'">
             <el-divider>正则校验</el-divider>
             <div
               v-for="(item, index) in activeData.regList"