提交 e4bccf96 编写于 作者: 黄笑

exa_excel_parse.go: fix return err

上级 6c7e17e9
......@@ -24,8 +24,8 @@ func ParseInfoList2Excel(infoList []model.SysBaseMenu, filePath string) error {
menu.Component,
})
}
excel.SaveAs(filePath)
return nil
err := excel.SaveAs(filePath)
return err
}
func ParseExcel2InfoList() ([]model.SysBaseMenu, error) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册