|
|
@ -118,13 +118,16 @@ |
|
|
|
app.isLoading = true |
|
|
|
app.isLoading = true |
|
|
|
Api.center() |
|
|
|
Api.center() |
|
|
|
.then(result => { |
|
|
|
.then(result => { |
|
|
|
|
|
|
|
if(result.data.length>0){ |
|
|
|
|
|
|
|
const data = result.data |
|
|
|
|
|
|
|
app.isDealer = data.isDealer |
|
|
|
|
|
|
|
app.user = data.user |
|
|
|
|
|
|
|
app.dealer = data.dealer |
|
|
|
|
|
|
|
app.refereeName = data.refereeName |
|
|
|
|
|
|
|
app.setting = data.setting |
|
|
|
|
|
|
|
} |
|
|
|
// api数据赋值 |
|
|
|
// api数据赋值 |
|
|
|
const data = result.data |
|
|
|
|
|
|
|
app.isDealer = data.isDealer |
|
|
|
|
|
|
|
app.user = data.user |
|
|
|
|
|
|
|
app.dealer = data.dealer |
|
|
|
|
|
|
|
app.refereeName = data.refereeName |
|
|
|
|
|
|
|
app.setting = data.setting |
|
|
|
|
|
|
|
// 设置当前页面标题 |
|
|
|
// 设置当前页面标题 |
|
|
|
app.setPageTitle() |
|
|
|
app.setPageTitle() |
|
|
|
app.isLoading = false |
|
|
|
app.isLoading = false |
|
|
|