Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 初始部署无法正确给配置项赋予默认值 #420

Closed

Conversation

Xiangze-Li
Copy link
Member

进行的修改: load 时, 如果 serve.yaml 文件正常, 从文件里读取数据到 dNew; 如果文件不正常, 直接赋予 dNew 一些配置项初始值. 不论文件状态, 都走一遍从 dNew 到当前 Dice 的赋值逻辑.

之前的逻辑: 如果文件不正常(不存在), 不会进行 dNew 到当前 Dice 的赋值逻辑.

@Xiangze-Li Xiangze-Li requested a review from fy0 November 18, 2023 10:19
@Xiangze-Li Xiangze-Li closed this Nov 18, 2023
@Xiangze-Li Xiangze-Li deleted the fix/try-fix-coc-cardgen branch November 21, 2023 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant