代码优化
This commit is contained in:
@@ -69,7 +69,6 @@ export default {
|
||||
],
|
||||
getDiceName(val,key){
|
||||
let item = this[key].find(v => v.type == val)
|
||||
console.log(item)
|
||||
return item ? item.label : ''
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user