commit
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
const mCondolence = {
|
||||
typeList: [],
|
||||
async getType() {
|
||||
const {data} = await $.get("/platform/condolence/type/getAll")
|
||||
data.forEach(v => {
|
||||
v.text = v.name + '(' + v.code + ')'
|
||||
v.value = v.id
|
||||
})
|
||||
data.unshift({text: "全部类型", value: null})
|
||||
this.typeList = data
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user