fix 一些问题

This commit is contained in:
2021-06-20 21:06:50 +08:00
parent c694078569
commit ada758e4db
10 changed files with 188 additions and 133 deletions

View File

@@ -134,7 +134,7 @@ export default class index extends Component {
name = toCamelCase(name)
const codes = this.state.codes[name]
if (codes) {
const c = codes.find(p => p.code === code)
const c = codes.find(p => p.code == code)
if (c) {
return c.value
}