Skip to content

Commit d33e791

Browse files
insistencegitee-org
authored andcommitted
!12 RuoYi-Vue-FastAPI v1.2.2
Merge pull request !12 from insistence/develop
2 parents b8a579d + b4ff602 commit d33e791

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<p align="center">
22
<img alt="logo" src="https://oscimg.oschina.net/oscnet/up-d3d0a9303e11d522a06cd263f3079027715.png">
33
</p>
4-
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi-Vue-FastAPI v1.2.1</h1>
4+
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi-Vue-FastAPI v1.2.2</h1>
55
<h4 align="center">基于RuoYi-Vue+FastAPI前后端分离的快速开发框架</h4>
66
<p align="center">
77
<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>
88
<a href="https://github.com/insistence/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/github/stars/insistence/RuoYi-Vue-FastAPI?style=social"></a>
9-
<a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/badge/RuoYiVueFastAPI-v1.2.1-brightgreen.svg"></a>
9+
<a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/badge/RuoYiVueFastAPI-v1.2.2-brightgreen.svg"></a>
1010
<a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mashape/apistatus.svg"></a>
1111
<img src="https://img.shields.io/badge/python-≥3.8-blue">
1212
<img src="https://img.shields.io/badge/MySQL-≥5.7-blue">

ruoyi-fastapi-backend/.env.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ APP_HOST = '0.0.0.0'
1010
# 应用端口
1111
APP_PORT = 9099
1212
# 应用版本
13-
APP_VERSION= '1.2.1'
13+
APP_VERSION= '1.2.2'
1414
# 应用是否开启热重载
1515
APP_RELOAD = true
1616
# 应用是否开启IP归属区域查询

ruoyi-fastapi-backend/.env.prod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ APP_HOST = '0.0.0.0'
1010
# 应用端口
1111
APP_PORT = 9099
1212
# 应用版本
13-
APP_VERSION= '1.2.1'
13+
APP_VERSION= '1.2.2'
1414
# 应用是否开启热重载
1515
APP_RELOAD = false
1616
# 应用是否开启IP归属区域查询

ruoyi-fastapi-backend/module_admin/service/job_service.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ async def delete_job_services(cls, query_db: AsyncSession, page_object: DeleteJo
117117
try:
118118
for job_id in job_id_list:
119119
await JobDao.delete_job_dao(query_db, JobModel(jobId=job_id))
120+
query_job = SchedulerUtil.get_scheduler_job(job_id=job_id)
121+
if query_job:
122+
SchedulerUtil.remove_scheduler_job(job_id=job_id)
120123
await query_db.commit()
121124
result = dict(is_success=True, message='删除成功')
122125
except Exception as e:

ruoyi-fastapi-backend/module_admin/service/login_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,9 @@ def get_component(cls, menu: MenuTreeModel):
475475
component = 'Layout'
476476
if menu.component and not cls.is_menu_frame(menu):
477477
component = menu.component
478-
elif menu.component and menu.parent_id != 0 and cls.is_inner_link(menu):
478+
elif (menu.component is None or menu.component == '') and menu.parent_id != 0 and cls.is_inner_link(menu):
479479
component = 'InnerLink'
480-
elif menu.component and cls.is_parent_view(menu):
480+
elif (menu.component is None or menu.component == '') and cls.is_parent_view(menu):
481481
component = 'ParentView'
482482
return component
483483

ruoyi-fastapi-frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vfadmin",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "vfadmin管理系统",
55
"author": "insistence",
66
"license": "MIT",

0 commit comments

Comments
 (0)