Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
baozouai committed Apr 17, 2023
1 parent 30ebcf3 commit 5d11038
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,17 @@ enum Status {

// =>

var Status = {
// 默认 reflect 是 true
const Status = {
PAID: 0,
UN_PAID: 1
0: 'PAID',
UN_PAID: 1,
1: 'UN_PAID'
}
// 设置 reflect 为false
const Status = {
PAID: 0,
UN_PAID: 1,
}
```

Expand Down

0 comments on commit 5d11038

Please sign in to comment.