Commit 647af5b485e322db6515aa4d685a72315c0ef32a

Authored by RuoYi
1 parent 3f332191

菜单组件修改允许空字符串

ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml
... ... @@ -131,7 +131,7 @@
131 131 <if test="parentId != null">parent_id = #{parentId},</if>
132 132 <if test="orderNum != null and orderNum != ''">order_num = #{orderNum},</if>
133 133 <if test="path != null and path != ''">path = #{path},</if>
134   - <if test="component != null and component != ''">component = #{component},</if>
  134 + <if test="component != null">component = #{component},</if>
135 135 <if test="isFrame != null and isFrame != ''">is_frame = #{isFrame},</if>
136 136 <if test="isCache != null and isCache != ''">is_cache = #{isCache},</if>
137 137 <if test="menuType != null and menuType != ''">menu_type = #{menuType},</if>
... ...