在data中定义了一个属性,初始值为 new Map(),打印出来确是对象{}
data: {
API: {
getDoctor: new Map(),
getHosipital: new Map(),
getDepart: new Map(),
getIndications: new Map()
}
}
data: {
API: {
getDoctor: new Map(),
getHosipital: new Map(),
getDepart: new Map(),
getIndications: new Map()
}
}