-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mis): 修复自动生成的计费项id不正确的bug (#577)
之前的实现中,计算当前租户的下一个计费项id由前端完成,这就导致一个问题:当修改集群配置文件,如修改qos配置后,前端无法获取到之前qos对应的计费项,也就导致无法计算出最新的计费项id,使自动生成的计费项id和数据库中的重复,出现如下行为 ![img_v2_61ba19bf-8573-4c61-86ff-1825c8b4a3cg](https://user-images.githubusercontent.com/98016770/233538316-85559481-0891-45f0-8dfe-4fd6580b6d87.jpg) 这个pr将计算过程放到api层完成,修复了这个bug
- Loading branch information
Showing
4 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@scow/mis-web": patch | ||
--- | ||
|
||
修复了一个 bug,曾导致当用户修改集群配置后,无法计算出正确的计费项 id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters