Skip to content

Commit

Permalink
!12 RuoYi-Vue-FastAPI v1.2.2
Browse files Browse the repository at this point in the history
Merge pull request !12 from insistence/develop
  • Loading branch information
insistence authored and gitee-org committed Jun 29, 2024
2 parents b8a579d + b4ff602 commit d33e791
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<p align="center">
<img alt="logo" src="https://oscimg.oschina.net/oscnet/up-d3d0a9303e11d522a06cd263f3079027715.png">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi-Vue-FastAPI v1.2.1</h1>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi-Vue-FastAPI v1.2.2</h1>
<h4 align="center">基于RuoYi-Vue+FastAPI前后端分离的快速开发框架</h4>
<p align="center">
<a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI/stargazers"><img src="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI/badge/star.svg?theme=dark"></a>
<a href="https://github.com/insistence/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/github/stars/insistence/RuoYi-Vue-FastAPI?style=social"></a>
<a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/badge/RuoYiVueFastAPI-v1.2.1-brightgreen.svg"></a>
<a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/badge/RuoYiVueFastAPI-v1.2.2-brightgreen.svg"></a>
<a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mashape/apistatus.svg"></a>
<img src="https://img.shields.io/badge/python-≥3.8-blue">
<img src="https://img.shields.io/badge/MySQL-≥5.7-blue">
Expand Down
2 changes: 1 addition & 1 deletion ruoyi-fastapi-backend/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ APP_HOST = '0.0.0.0'
# 应用端口
APP_PORT = 9099
# 应用版本
APP_VERSION= '1.2.1'
APP_VERSION= '1.2.2'
# 应用是否开启热重载
APP_RELOAD = true
# 应用是否开启IP归属区域查询
Expand Down
2 changes: 1 addition & 1 deletion ruoyi-fastapi-backend/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ APP_HOST = '0.0.0.0'
# 应用端口
APP_PORT = 9099
# 应用版本
APP_VERSION= '1.2.1'
APP_VERSION= '1.2.2'
# 应用是否开启热重载
APP_RELOAD = false
# 应用是否开启IP归属区域查询
Expand Down
3 changes: 3 additions & 0 deletions ruoyi-fastapi-backend/module_admin/service/job_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ async def delete_job_services(cls, query_db: AsyncSession, page_object: DeleteJo
try:
for job_id in job_id_list:
await JobDao.delete_job_dao(query_db, JobModel(jobId=job_id))
query_job = SchedulerUtil.get_scheduler_job(job_id=job_id)
if query_job:
SchedulerUtil.remove_scheduler_job(job_id=job_id)
await query_db.commit()
result = dict(is_success=True, message='删除成功')
except Exception as e:
Expand Down
4 changes: 2 additions & 2 deletions ruoyi-fastapi-backend/module_admin/service/login_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,9 @@ def get_component(cls, menu: MenuTreeModel):
component = 'Layout'
if menu.component and not cls.is_menu_frame(menu):
component = menu.component
elif menu.component and menu.parent_id != 0 and cls.is_inner_link(menu):
elif (menu.component is None or menu.component == '') and menu.parent_id != 0 and cls.is_inner_link(menu):
component = 'InnerLink'
elif menu.component and cls.is_parent_view(menu):
elif (menu.component is None or menu.component == '') and cls.is_parent_view(menu):
component = 'ParentView'
return component

Expand Down
2 changes: 1 addition & 1 deletion ruoyi-fastapi-frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vfadmin",
"version": "1.2.1",
"version": "1.2.2",
"description": "vfadmin管理系统",
"author": "insistence",
"license": "MIT",
Expand Down

0 comments on commit d33e791

Please sign in to comment.