From ac47375aba17033ace1791bdebb5f5bb7d343827 Mon Sep 17 00:00:00 2001 From: hewenqiang <1527468660@qq.com> Date: 星期四, 17 三月 2022 11:45:42 +0800 Subject: [PATCH] fix 修复角色、岗位、字典数据在PostgreSQL执行插入或者更新SQL报错问题,修改对应实体类的排序属性为Integer类型。 --- ruoyi-ui/src/layout/components/Sidebar/Item.vue | 58 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 29 insertions(+), 29 deletions(-) diff --git a/ruoyi-ui/src/layout/components/Sidebar/Item.vue b/ruoyi-ui/src/layout/components/Sidebar/Item.vue index 1a99d63..b515f61 100644 --- a/ruoyi-ui/src/layout/components/Sidebar/Item.vue +++ b/ruoyi-ui/src/layout/components/Sidebar/Item.vue @@ -1,29 +1,29 @@ -<script> -export default { - name: 'MenuItem', - functional: true, - props: { - icon: { - type: String, - default: '' - }, - title: { - type: String, - default: '' - } - }, - render(h, context) { - const { icon, title } = context.props - const vnodes = [] - - if (icon) { - vnodes.push(<svg-icon icon-class={icon}/>) - } - - if (title) { - vnodes.push(<span slot='title'>{(title)}</span>) - } - return vnodes - } -} -</script> +<script> +export default { + name: 'MenuItem', + functional: true, + props: { + icon: { + type: String, + default: '' + }, + title: { + type: String, + default: '' + } + }, + render(h, context) { + const { icon, title } = context.props + const vnodes = [] + + if (icon) { + vnodes.push(<svg-icon icon-class={icon}/>) + } + + if (title) { + vnodes.push(<span slot='title'>{(title)}</span>) + } + return vnodes + } +} +</script> -- Gitblit v1.9.3