We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/**
这里要修改一下吗?
The text was updated successfully, but these errors were encountered:
空调期望的最高温度是 31摄氏度(因为咱家的空调就是这样),而这里小于 31,就是它为 30 的时候,仍然可以继续增加一度,所以逻辑上应该没问题?
Sorry, something went wrong.
No branches or pull requests
/**
*/
function increaseTemperature(props: any) {
props.temperature < 31
? props.setTemperature(props.temperature + 1)
: console.log("已经是最大温度啦!");
}
这里要修改一下吗?
The text was updated successfully, but these errors were encountered: