xuxueyang
2024-09-09 15bd4823adb6c1b3a547f24ba613ac5c87ec3b2e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import moment from 'moment'
 
const dicts = {
    getLabel(arr, value) {
        for (var i of arr) {
            if (i.value == value) {
                return i.label
            }
        }
        return '未知'
    }
 
}
 
export default dicts