|
|
@ -241,10 +241,10 @@ export default { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
io.get(`tenant/list`, payload, res => { |
|
|
|
io.get(`tenant/list`, payload, res => { |
|
|
|
let list=res.data |
|
|
|
let list=res.data |
|
|
|
// list.unshift({
|
|
|
|
list.unshift({ |
|
|
|
// id: -1,
|
|
|
|
id: -1, |
|
|
|
// tenantName: 'Default'
|
|
|
|
tenantName: 'Default' |
|
|
|
// })
|
|
|
|
}) |
|
|
|
state.tenantAllList = list |
|
|
|
state.tenantAllList = list |
|
|
|
resolve(list) |
|
|
|
resolve(list) |
|
|
|
}).catch(e => { |
|
|
|
}).catch(e => { |
|
|
|