xuxueyang
2024-09-03 9cfb7141478e85dfc1367b6fb5f31852aa20c1d2
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