mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
chore(style): allow case declarations and ban var
(#987)
* chore(style): allow case declarations * chore(style): ban `var` and prefer `const`
This commit is contained in:
@ -176,7 +176,7 @@ class ForgetPage extends React.Component {
|
||||
onFinishFailed(values, errorFields) {}
|
||||
|
||||
renderOptions() {
|
||||
let options = [];
|
||||
const options = [];
|
||||
|
||||
if (this.state.phone !== "") {
|
||||
options.push(
|
||||
|
Reference in New Issue
Block a user